Channel* c = (Channel*)dest;
ModResult res;
- FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (c->GetUser(user),c,"blockcaps"));
+ FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,c,"blockcaps"));
if (res == MOD_RES_ALLOW)
return MOD_RES_PASSTHRU;
virtual Version GetVersion()
{
- return Version("Provides support to block all-CAPS channel messages and notices", VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("Provides support to block all-CAPS channel messages and notices", VF_COMMON|VF_VENDOR);
}
};