]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanfilter.cpp
Use ERR_BANLISTFULL in the chanfilter and exemptchanops modules.
[user/henk/code/inspircd.git] / src / modules / m_chanfilter.cpp
index 903aab33a8eeb2f5f2e724a0225a6188849152b1..5591c7ef959788331465e2b3bf9d196c91f2d84f 100644 (file)
@@ -31,8 +31,7 @@ enum
 {
        // InspIRCd-specific.
        ERR_ALREADYCHANFILTERED = 937,
-       ERR_NOSUCHCHANFILTER = 938,
-       ERR_CHANFILTERFULL = 939
+       ERR_NOSUCHCHANFILTER = 938
 };
 
 /** Handles channel mode +g
@@ -55,11 +54,6 @@ class ChanFilter : public ListModeBase
                return true;
        }
 
-       void TellListTooLong(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE
-       {
-               user->WriteNumeric(ERR_CHANFILTERFULL, chan->name, word, "Channel spamfilter list is full");
-       }
-
        void TellAlreadyOnList(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE
        {
                user->WriteNumeric(ERR_ALREADYCHANFILTERED, chan->name, InspIRCd::Format("The word %s is already on the spamfilter list", word.c_str()));