diff options
Diffstat (limited to 'src/modules/m_svshold.cpp')
-rw-r--r-- | src/modules/m_svshold.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp index a2b072921..377179bf0 100644 --- a/src/modules/m_svshold.cpp +++ b/src/modules/m_svshold.cpp @@ -165,13 +165,16 @@ class ModuleSVSHold : public Module public: ModuleSVSHold() : cmd(this) { + } + + void init() + { ServerInstance->XLines->RegisterFactory(&s); ServerInstance->AddCommand(&cmd); Implementation eventlist[] = { I_OnUserPreNick, I_OnStats }; ServerInstance->Modules->Attach(eventlist, this, 2); } - virtual ModResult OnStats(char symbol, User* user, string_list &out) { if(symbol != 'S') |