summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-12 13:09:14 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-12 13:09:14 +0000
commitf741fa6e3c57107a88f1752dbed06af850a2525d (patch)
tree601c1971b1fda100fe052508e2f1525d1e7e09d6 /src/inspircd.cpp
parent7ba6c9f001f8093f4174659531a7be2825d28ae8 (diff)
Fix empty SID validation and generation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11851 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 7e9d56734..56e43c3ed 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -568,7 +568,7 @@ InspIRCd::InspIRCd(int argc, char** argv) :
if (Config->sid.empty())
{
// Generate one
- int sid = 0;
+ unsigned int sid = 0;
char sidstr[4];
for (const char* x = Config->ServerName.c_str(); *x; ++x)