]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operjoin.cpp
Attach to events and register services in init()
[user/henk/code/inspircd.git] / src / modules / m_operjoin.cpp
index b717ac3ef6f50fb78fe22aad3a571472e03c9ccf..c4b2d5599b35589c99cdfcbd503e3b08fc5f30e7 100644 (file)
@@ -53,7 +53,7 @@ class ModuleOperjoin : public Module
                }
 
        public:
-               ModuleOperjoin()
+               void init()
                {
                        OnRehash(NULL);
                        Implementation eventlist[] = { I_OnPostOper, I_OnRehash };