summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-20 16:21:32 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-20 16:21:32 +0000
commit56488a7f6cad38c86b25847ee37bee99f54d6665 (patch)
treec66d737ef4a434752101a1b0757a3fb5e2034237 /src
parent123edca1011b07ed7996b7211c9b5866388879d0 (diff)
Whoops, i left a value out of the array, and gcc didnt warn!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7768 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/configreader.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index b696fe26a..d93a1d4d8 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -409,11 +409,6 @@ bool DoConnect(ServerConfig* conf, const char* tag, char** entries, ValueList &v
const char* parent = values[13].GetString();
int maxchans = values[14].GetInteger();
- if (!allow)
- allow = "";
- if (!deny)
- deny = "";
-
if (*parent)
{
/* Find 'parent' and inherit a new class from it,
@@ -681,7 +676,7 @@ void ServerConfig::Read(bool bail, userrec* user)
NULL},
{"", "", "", "", "120", "",
"", "", "", "3", "3", "0",
- "", "",
+ "", "", "0",
NULL},
{DT_CHARPTR, DT_CHARPTR, DT_CHARPTR, DT_INTEGER, DT_INTEGER, DT_INTEGER,
DT_INTEGER, DT_INTEGER, DT_INTEGER, DT_INTEGER, DT_INTEGER, DT_INTEGER,