diff options
Diffstat (limited to 'src/modules/m_cban.cpp')
-rw-r--r-- | src/modules/m_cban.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 6e4d83fcf..217db32c8 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -132,14 +132,14 @@ class cmd_cban : public command_t class ModuleCBan : public Module { cmd_cban* mycommand; - Server* Srv; + public: ModuleCBan(InspIRCd* Me) : Module::Module(Me) { mycommand = new cmd_cban(Me); - Srv->AddCommand(mycommand); + ServerInstance->AddCommand(mycommand); } void Implements(char* List) |