summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 4a53c2a05..09f1e8685 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -39,6 +39,7 @@
#include "typedefs.h"
#include "command_parse.h"
#include "exitcodes.h"
+#include "caller.h"
#ifdef WIN32
@@ -391,7 +392,9 @@ void InspIRCd::WritePID(const std::string &filename)
}
InspIRCd::InspIRCd(int argc, char** argv)
- : ModCount(-1), GlobalCulls(this)
+ : ModCount(0),
+ GlobalCulls(this),
+ HandleIsNick(this), IsNick(&HandleIsNick)
{
int found_ports = 0;
FailedPortList pl;