- bool ValidateParam(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE {
- if (word.length() > 35)
- {
- user->WriteNumeric(935, chan->name, word, "%word is too long for censor list");
- return false;
- }
-
- return true;
- }
-
- void TellListTooLong(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE
+ ChanFilter(Module* Creator)
+ : ListModeBase(Creator, "filter", 'g', "End of channel spamfilter list", 941, 940, false)