diff options
Diffstat (limited to 'src/modules/m_botmode.cpp')
-rw-r--r-- | src/modules/m_botmode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp index 57ece4759..a2c866b7c 100644 --- a/src/modules/m_botmode.cpp +++ b/src/modules/m_botmode.cpp @@ -63,7 +63,7 @@ class BotMode : public ModeHandler class ModuleBotMode : public Module { - Server *Srv; + BotMode* bm; public: ModuleBotMode(InspIRCd* Me) @@ -71,7 +71,7 @@ class ModuleBotMode : public Module { bm = new BotMode(ServerInstance); - Srv->AddMode(bm, 'B'); + ServerInstance->AddMode(bm, 'B'); } void Implements(char* List) |