summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
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 */