diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-11 20:35:54 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-11 20:35:54 +0000 |
commit | 8f0f9654f841f8034be4c071660a378a91434782 (patch) | |
tree | 178ed3294bfd1005504c72c46baaa64009583bbb /src/configreader.cpp | |
parent | ed94fb6c55eb67919babc51b31c9ef617aeb2157 (diff) |
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
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |