diff options
Diffstat (limited to 'src/modules/m_userip.cpp')
-rw-r--r-- | src/modules/m_userip.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp index ae826b12a..9e547d106 100644 --- a/src/modules/m_userip.cpp +++ b/src/modules/m_userip.cpp @@ -68,12 +68,15 @@ class ModuleUserIP : public Module ModuleUserIP() : cmd(this) { + } + + void init() + { ServerInstance->AddCommand(&cmd); Implementation eventlist[] = { I_On005Numeric }; ServerInstance->Modules->Attach(eventlist, this, 1); } - virtual void On005Numeric(std::string &output) { output = output + " USERIP"; |