virtual int ProcessMessages(userrec* user,chanrec* chan,std::string &text)
{
- if (!IS_LOCAL(user))
+ if (!IS_LOCAL(user) || CHANOPS_EXEMPT(ServerInstance, 'g') && chan->GetStatus(user) == STATUS_OP)
return 0;
// Create a copy of the string in irc::string
}
}
}
+
return 0;
}