summaryrefslogtreecommitdiff
path: root/src/modules/m_chancreate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chancreate.cpp')
-rw-r--r--src/modules/m_chancreate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_chancreate.cpp b/src/modules/m_chancreate.cpp
index d2b0b4e45..6c332cdcd 100644
--- a/src/modules/m_chancreate.cpp
+++ b/src/modules/m_chancreate.cpp
@@ -23,6 +23,8 @@ class ModuleChanCreate : public Module
: Module(Me)
{
ServerInstance->SNO->EnableSnomask('j', "CHANCREATE");
+ Implementation eventlist[] = { I_OnUserJoin };
+ ServerInstance->Modules->Attach(eventlist, this, 1);
}
virtual ~ModuleChanCreate()