summaryrefslogtreecommitdiff
path: root/src/modules/m_cap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_cap.cpp')
-rw-r--r--src/modules/m_cap.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_cap.cpp b/src/modules/m_cap.cpp
index 662e128a4..af53452c9 100644
--- a/src/modules/m_cap.cpp
+++ b/src/modules/m_cap.cpp
@@ -130,6 +130,10 @@ class ModuleCAP : public Module
ModuleCAP()
: cmd(this)
{
+ }
+
+ void init()
+ {
ServerInstance->AddCommand(&cmd);
ServerInstance->Extensions.Register(&cmd.reghold);