summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 00:31:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 00:31:41 +0000
commitfa79c1646de5e4abf052962b0df42e3b666566a4 (patch)
treefcbc7c312d44d0da6f74371cf42291ba3122f275 /src
parent07e45de53335528d15ded120850d8e1b53cfc8bc (diff)
Whoops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7850 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 1d9aca35f..ffd3783e1 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -547,13 +547,15 @@ InspIRCd::InspIRCd(int argc, char** argv)
sid = 5 * sid + *y;
sid = sid % 999;
current_uid[0] = sid / 100 + 48;
- current_uid[1] = sid / 10 + 48;
+ current_uid[1] = ((sid / 10) % 10) + 48;
current_uid[2] = sid % 10 + 48;
/* Initialise UID */
for(i = 3; i < UUID_LENGTH - 1; i++)
current_uid[i] = 'A';
+ printf ("%s\n", current_uid);
+
printf("\nInspIRCd is now running!\n");
Log(DEFAULT,"Startup complete.");