]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nonicks.cpp
Just to mess with om's head, remove helperfuncs.h from everywhere
[user/henk/code/inspircd.git] / src / modules / m_nonicks.cpp
index 2ca3338f2a022ea9e45f40fa1fda47cddaded7b5..9d2a3d9eb666c9122ce70ca807b653b53873acb8 100644 (file)
@@ -21,14 +21,14 @@ using namespace std;
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
-#include "helperfuncs.h"
+
 #include "hashcomp.h"
 #include "configreader.h"
 #include "inspircd.h"
 
 /* $ModDesc: Provides support for unreal-style GLOBOPS and umode +g */
 
-extern InspIRCd* ServerInstance;
+
 
 class NoNicks : public ModeHandler
 {
@@ -89,7 +89,7 @@ class ModuleNoNickChange : public Module
 
        virtual void On005Numeric(std::string &output)
        {
-               ServerInstance->ModeGrok->InsertMode(output,"N",4);
+               ServerInstance->Modes->InsertMode(output,"N",4);
        }
        
        virtual int OnUserPreNick(userrec* user, const std::string &newnick)