]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configreader.cpp
Implement feature in bug #395 reported by stealth, and tidy up a bit
[user/henk/code/inspircd.git] / src / configreader.cpp
index b696fe26a3b7319b57f73eaf9425569e7090abde..d93a1d4d8b843b43f00212ab0afa9a67cfbfbb09 100644 (file)
@@ -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,