]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
m_ircv3 Attach to OnRehash
authorattilamolnar <attilamolnar@hush.com>
Tue, 23 Oct 2012 20:08:53 +0000 (22:08 +0200)
committerattilamolnar <attilamolnar@hush.com>
Tue, 23 Oct 2012 20:13:38 +0000 (22:13 +0200)
src/modules/m_ircv3.cpp

index 798734d55c467a5434725a22a8acae1849760027..06765d69665cf6203949950bf5e097c8fd193788 100644 (file)
@@ -77,8 +77,8 @@ class ModuleIRCv3 : public Module
                                        cap_extendedjoin(this, "extended-join")
        {
                OnRehash(NULL);
-               Implementation eventlist[] = { I_OnUserJoin, I_OnPostJoin, I_OnSetAway, I_OnEvent };
-               ServerInstance->Modules->Attach(eventlist, this, 4);
+               Implementation eventlist[] = { I_OnUserJoin, I_OnPostJoin, I_OnSetAway, I_OnEvent, I_OnRehash };
+               ServerInstance->Modules->Attach(eventlist, this, 5);
        }
 
        void OnRehash(User* user)