]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configreader.cpp
IT WORKS!
[user/henk/code/inspircd.git] / src / configreader.cpp
index ca8be9fefebdc29d54a4e9881024b04eb38c10c7..06513253ce3e9aae91add9c00d54593b96fe6820 100644 (file)
@@ -1142,6 +1142,8 @@ void ServerConfig::Read(bool bail, User* user, int pass)
                 * at this point
                 */
 
+               if (!ServerInstance->Res)
+                       ServerInstance->Res = new DNS(ServerInstance);
                /** Note: This is safe, the method checks for user == NULL */
                ServerInstance->Parser->SetupCommandTable(user);
                ServerInstance->Modules->LoadAll();