summaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 1eb618f7c..8f40cfa5b 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -48,6 +48,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "sha1.h"
#include "base64.h"
#include "tool.h"
+#include "utility_string.h"
#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")"
@@ -824,13 +825,6 @@ void PlayerInfo::PrintLine(std::ostream *s)
(*s)<<std::endl;
}
-static std::string padStringRight(std::string s, size_t len)
-{
- if(len > s.size())
- s.insert(s.end(), len - s.size(), ' ');
- return s;
-}
-
/*
Server
*/