]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
Add template creation tool for caller classes
[user/henk/code/inspircd.git] / src / inspircd.cpp
index 4a53c2a050a8ed1002d55ac256240cdf9cb02fb6..09f1e868505215d39988f5b12c12dae4a6a18e79 100644 (file)
@@ -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;