m_ircv3 Attach to OnRehash

This commit is contained in:
attilamolnar 2012-10-23 22:08:53 +02:00
parent d9d0d1b6a9
commit c244b6686c

View File

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