diff options
Diffstat (limited to 'src/modules/m_noctcp.cpp')
-rw-r--r-- | src/modules/m_noctcp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp index fc7ede256..0c3e3649a 100644 --- a/src/modules/m_noctcp.cpp +++ b/src/modules/m_noctcp.cpp @@ -62,10 +62,10 @@ class ModuleNoCTCP : public Module public: - ModuleNoCTCP(Server* Me) + ModuleNoCTCP(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + nc = new NoCTCP(ServerInstance); Srv->AddMode(nc, 'C'); } @@ -128,7 +128,7 @@ class ModuleNoCTCPFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleNoCTCP(Me); } |