diff options
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r-- | src/modules/m_helpop.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index accec7a2d..fa3f4eed9 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -24,7 +24,6 @@ using namespace std; // Global Vars static ConfigReader *helpop; -static Server *Srv; extern InspIRCd* ServerInstance; @@ -206,9 +205,9 @@ class ModuleHelpop : public Module { ReadConfig(); ho = new Helpop(ServerInstance); - Srv->AddMode(ho, 'h'); + ServerInstance->AddMode(ho, 'h'); mycommand = new cmd_helpop(); - Srv->AddCommand(mycommand); + ServerInstance->AddCommand(mycommand); } virtual void ReadConfig() |