]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Prioritize checking for +ikl last to match previous behavior (#1474).
authorDylan Frank <b00mx0r@aureus.pw>
Sat, 31 Mar 2018 21:51:51 +0000 (14:51 -0700)
committerPeter Powell <petpow@saberuk.com>
Sat, 31 Mar 2018 21:51:51 +0000 (22:51 +0100)
src/coremods/core_channel/core_channel.cpp

index b69483166574be80b5752d4a3086fe7cffd58e3a..ccf4d1a6e1c64695b1ecf1a632054066036bbed5 100644 (file)
@@ -269,6 +269,7 @@ class CoreModChannel : public Module, public CheckExemption::EventListener
        void Prioritize() CXX11_OVERRIDE
        {
                ServerInstance->Modules.SetPriority(this, I_OnPostJoin, PRIORITY_FIRST);
+               ServerInstance->Modules.SetPriority(this, I_OnUserPreJoin, PRIORITY_LAST);
        }
 
        Version GetVersion() CXX11_OVERRIDE