summaryrefslogtreecommitdiff
path: root/src/modules/m_blockcaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_blockcaps.cpp')
-rw-r--r--src/modules/m_blockcaps.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp
index 4c19ef0a7..ca452945b 100644
--- a/src/modules/m_blockcaps.cpp
+++ b/src/modules/m_blockcaps.cpp
@@ -43,6 +43,10 @@ public:
ModuleBlockCAPS() : bc(this)
{
+ }
+
+ void init()
+ {
OnRehash(NULL);
if (!ServerInstance->Modes->AddMode(&bc))
throw ModuleException("Could not add new modes!");