- ChanFilter(Module* Creator) : ListModeBase(Creator, "filter", 'g', "End of channel spamfilter list", 941, 940, false, "chanfilter") { }
-
- bool ValidateParam(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE {
- if (word.length() > 35)
- {
- user->WriteNumeric(Numerics::InvalidModeParameter(chan, this, word, "Word is too long for the spamfilter list"));
- return false;
- }
-
- return true;
- }