X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_blockcaps.cpp;h=873cf46ca2059e79d2e6379c78586fd30e6d5dbf;hb=1bfa48143c04504181d1b194af151fae2dac1eb1;hp=3fc603a85850dc53fa3b15b6484a67fc96edf86f;hpb=cd712c40e1b352c05e7ae0f72e0a5e84cdf64323;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp index 3fc603a85..873cf46ca 100644 --- a/src/modules/m_blockcaps.cpp +++ b/src/modules/m_blockcaps.cpp @@ -59,8 +59,7 @@ public: return MOD_RES_PASSTHRU; Channel* c = (Channel*)dest; - ModResult res; - FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,c,"blockcaps")); + ModResult res = ServerInstance->OnCheckExemption(user,c,"blockcaps"); if (res == MOD_RES_ALLOW) return MOD_RES_PASSTHRU; @@ -128,7 +127,7 @@ public: virtual Version GetVersion() { - return Version("Provides support to block all-CAPS channel messages and notices", VF_COMMON|VF_VENDOR); + return Version("Provides support to block all-CAPS channel messages and notices", VF_VENDOR); } };