]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/server.cpp
LogManager cleanup
[user/henk/code/inspircd.git] / src / server.cpp
index c2068d75bb169e4e084f30734c5848137afba6e7..66b175a1ad5d9785aed9cab63d78b75f5aeb3a4f 100644 (file)
@@ -73,11 +73,6 @@ std::string InspIRCd::GetVersionString(bool getFullVersion)
        return BRANCH " " + Config->ServerName + " :" + Config->CustomVersion;
 }
 
-const char InspIRCd::LogHeader[] =
-       "Log started for " VERSION " (" REVISION ", " MODULE_INIT_STR ")"
-       " - compiled on " SYSTEM;
-
-
 std::string UIDGenerator::GenerateSID(const std::string& servername, const std::string& serverdesc)
 {
        unsigned int sid = 0;
@@ -88,6 +83,7 @@ std::string UIDGenerator::GenerateSID(const std::string& servername, const std::
                sid = 5 * sid + *i;
 
        std::string sidstr = ConvToStr(sid % 1000);
+       sidstr.insert(0, 3 - sidstr.length(), '0');
        return sidstr;
 }