diff options
Diffstat (limited to 'src/modules/m_nonicks.cpp')
-rw-r--r-- | src/modules/m_nonicks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index daaf25ece..2ca3338f2 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -60,7 +60,7 @@ class NoNicks : public ModeHandler class ModuleNoNickChange : public Module { - Server *Srv; + NoNicks* nn; public: @@ -69,7 +69,7 @@ class ModuleNoNickChange : public Module { nn = new NoNicks(ServerInstance); - Srv->AddMode(nn, 'N'); + ServerInstance->AddMode(nn, 'N'); } virtual ~ModuleNoNickChange() |