virtual Version GetVersion()
{
- return Version("Provides support for unreal-style channel mode +C", VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("Provides support for unreal-style channel mode +C", VF_COMMON | VF_VENDOR);
}
virtual ModResult OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
{
Channel* c = (Channel*)dest;
ModResult res;
- FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (c->GetUser(user),c,"noctcp"));
+ FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,c,"noctcp"));
if (res == MOD_RES_ALLOW)
return MOD_RES_PASSTHRU;