diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-08 08:58:13 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-08 08:58:13 +0000 |
commit | 25d1f76ca00c273f4663121f67735834c5cb25cc (patch) | |
tree | e65a7c9a54149455164a1112b6221b4cdcbd413b | |
parent | 37c6eda15a674922b38642f74daea865a8b50e98 (diff) |
Remove some debug on startup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8660 e03df62e-2008-0410-955e-edbf42e46eb7
-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); |