From 8f0f9654f841f8034be4c071660a378a91434782 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Nov 2007 20:35:54 +0000 Subject: This fixed. Initialise dns at the end of pass 1 before loading first set of modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8582 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index ca8be9fef..06513253c 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -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(); -- cgit v1.2.3