]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chancreate.cpp
Some more to fix still, modules probably wont load correctly atm
[user/henk/code/inspircd.git] / src / modules / m_chancreate.cpp
index d2b0b4e45c1350a82c9ef3bbebf28dbcea0f243d..6c332cdcd7884d6b0c94cd412a16a64979b0843e 100644 (file)
@@ -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()