summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-31 19:39:49 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-31 19:39:49 +0000
commit4a1c3817e7b17bad6005cb4caca81f13a80de517 (patch)
treefa53d3fb453d0fb46505aefa27229f983bfc708a /src
parentb2b7bfd5e94760b3d4ab1832edd4e5a26b8b8fd9 (diff)
Unbreak the compile.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8008 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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;