summaryrefslogtreecommitdiff
path: root/src/modules/m_setname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_setname.cpp')
-rw-r--r--src/modules/m_setname.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp
index 32c1d5dc3..1ca7b1b3f 100644
--- a/src/modules/m_setname.cpp
+++ b/src/modules/m_setname.cpp
@@ -65,6 +65,10 @@ class ModuleSetName : public Module
ModuleSetName()
: cmd(this)
{
+ }
+
+ void init()
+ {
ServerInstance->AddCommand(&cmd);
}