diff options
Diffstat (limited to 'src/modules/m_nonicks.cpp')
-rw-r--r-- | src/modules/m_nonicks.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index 1e8b7ccf9..daaf25ece 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -64,10 +64,10 @@ class ModuleNoNickChange : public Module NoNicks* nn; public: - ModuleNoNickChange(Server* Me) + ModuleNoNickChange(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + nn = new NoNicks(ServerInstance); Srv->AddMode(nn, 'N'); } @@ -130,7 +130,7 @@ class ModuleNoNickChangeFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleNoNickChange(Me); } |