summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 949d8a3ae..a96e16c45 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -439,8 +439,6 @@ InspIRCd::InspIRCd(int argc, char** argv)
* For an explanation as to exactly how this works, and why it works this way, see GetUID().
* -- w00t
*/
- int i;
-
/* Generate SID */
size_t sid = 0;
if (Config->sid)
@@ -575,6 +573,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
/* moved to a function, as UID generation can call this also */
void InspIRCd::InitialiseUID()
{
+ int i;
size_t sid = Config->sid;
current_uid[0] = sid / 100 + 48;