diff options
Diffstat (limited to 'src/modules/m_silence.cpp')
-rw-r--r-- | src/modules/m_silence.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index e912f0c13..cc73f8ead 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -134,7 +134,7 @@ class cmd_silence : public command_t class ModuleSilence : public Module { - Server *Srv; + cmd_silence* mycommand; public: @@ -143,7 +143,7 @@ class ModuleSilence : public Module { mycommand = new cmd_silence(); - Srv->AddCommand(mycommand); + ServerInstance->AddCommand(mycommand); } void Implements(char* List) |