summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_chanfilter.cpp8
-rw-r--r--src/modules/m_exemptchanops.cpp5
2 files changed, 1 insertions, 12 deletions
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp
index 903aab33a..5591c7ef9 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -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()));
diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp
index b1d7b35df..411d0dd15 100644
--- a/src/modules/m_exemptchanops.cpp
+++ b/src/modules/m_exemptchanops.cpp
@@ -52,11 +52,6 @@ class ExemptChanOps : public ListModeBase
return true;
}
- void TellListTooLong(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE
- {
- user->WriteNumeric(959, chan->name, word, "Channel exemptchanops list is full");
- }
-
void TellAlreadyOnList(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE
{
user->WriteNumeric(957, chan->name, InspIRCd::Format("The word %s is already on the exemptchanops list", word.c_str()));