From 56488a7f6cad38c86b25847ee37bee99f54d6665 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 20 Aug 2007 16:21:32 +0000 Subject: 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 --- src/configreader.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/configreader.cpp') 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, -- cgit v1.3.1-10-gc9f91