diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 17aa0c933..27bdbbd5a 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -482,16 +482,11 @@ InspIRCd::InspIRCd(int argc, char** argv) * For an explanation as to exactly how this works, and why it works this way, see GetUID(). * -- w00t */ - /* Generate SID */ - printf("\nSID is %s\n\n", Config->sid); if (*Config->sid) { - // already defined, don't bother - printf("\nAlready defined!\n\n"); } else { - printf("\nGenerating..\n\n"); // Generate one size_t sid = 0; @@ -501,11 +496,6 @@ InspIRCd::InspIRCd(int argc, char** argv) sid = 5 * sid + *y; sid = sid % 999; - printf("\nGenerated %u\n\n", sid); - printf("\n0 %c\n\n", (sid / 100 + 48)); - printf("\n1 %c\n\n", (((sid / 10) % 10) + 48)); - printf("\n2 %c\n\n", (sid % 10 + 48)); - Config->sid[0] = (char)(sid / 100 + 48); Config->sid[1] = (char)(((sid / 10) % 10) + 48); Config->sid[2] = (char)(sid % 10 + 48); |