public:
ChanFilter(Module* Creator) : ListModeBase(Creator, "filter", 'g', "End of channel spamfilter list", 941, 940, false, "chanfilter") { }
public:
ChanFilter(Module* Creator) : ListModeBase(Creator, "filter", 'g', "End of channel spamfilter list", 941, 940, false, "chanfilter") { }
if (word.length() > 35)
{
user->WriteNumeric(935, chan->name, word, "%word is too long for censor list");
if (word.length() > 35)
{
user->WriteNumeric(935, chan->name, word, "%word is too long for censor list");
{
user->WriteNumeric(939, chan->name, word, "Channel spamfilter list is full");
}
{
user->WriteNumeric(939, chan->name, word, "Channel spamfilter list is full");
}
{
user->WriteNumeric(937, chan->name, InspIRCd::Format("The word %s is already on the spamfilter list", word.c_str()));
}
{
user->WriteNumeric(937, chan->name, InspIRCd::Format("The word %s is already on the spamfilter list", word.c_str()));
}
- ModResult res = ServerInstance->OnCheckExemption(user,chan,"filter");
+ ModResult res = CheckExemption::Call(exemptionprov, user, chan, "filter");