diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-09 20:14:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-09 20:14:26 +0000 |
commit | 3020afbbedca81d14bc098e45b02c27a14625a1c (patch) | |
tree | db08161b2172ac3f7285da1ce0bdbdd46bcf541f /src/inspircd.cpp | |
parent | e2b1ad588d34c3d1d0e4e330acef7ca177b13daf (diff) |
Fix passing wrong instance to resolver
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4824 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 3a4952cc4..6b4800887 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -65,7 +65,7 @@ #include "typedefs.h" #include "command_parse.h" -InspIRCd* ServerInstance; +InspIRCd* ServerInstance = NULL; extern ModuleList modules; extern FactoryList factory; @@ -886,6 +886,8 @@ int InspIRCd::Run() { this->Res = new DNS(this); + log(DEBUG,"RES: %08x",this->Res); + LoadAllModules(this); /* Just in case no modules were loaded - fix for bug #101 */ |