summaryrefslogtreecommitdiff
path: root/src/modules/m_remove.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_remove.cpp')
-rw-r--r--src/modules/m_remove.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index 8b5ae1f1b..1ba51a0eb 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -198,6 +198,10 @@ class ModuleRemove : public Module
public:
ModuleRemove() : cmd1(this, supportnokicks), cmd2(this, supportnokicks)
{
+ }
+
+ void init()
+ {
ServerInstance->AddCommand(&cmd1);
ServerInstance->AddCommand(&cmd2);
OnRehash(NULL);
@@ -205,7 +209,6 @@ class ModuleRemove : public Module
ServerInstance->Modules->Attach(eventlist, this, 2);
}
-
virtual void On005Numeric(std::string &output)
{
output.append(" REMOVE");