summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_chanfilter.cpp17
-rw-r--r--src/modules/m_exemptchanops.cpp10
2 files changed, 0 insertions, 27 deletions
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp
index 5591c7ef9..42f43a767 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -27,13 +27,6 @@
#include "listmode.h"
#include "modules/exemption.h"
-enum
-{
- // InspIRCd-specific.
- ERR_ALREADYCHANFILTERED = 937,
- ERR_NOSUCHCHANFILTER = 938
-};
-
/** Handles channel mode +g
*/
class ChanFilter : public ListModeBase
@@ -53,16 +46,6 @@ class ChanFilter : public ListModeBase
return true;
}
-
- 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()));
- }
-
- void TellNotSet(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE
- {
- user->WriteNumeric(ERR_NOSUCHCHANFILTER, chan->name, "No such spamfilter word is set");
- }
};
class ModuleChanFilter : public Module
diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp
index 411d0dd15..058a16e6c 100644
--- a/src/modules/m_exemptchanops.cpp
+++ b/src/modules/m_exemptchanops.cpp
@@ -51,16 +51,6 @@ class ExemptChanOps : public ListModeBase
return true;
}
-
- 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()));
- }
-
- void TellNotSet(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE
- {
- user->WriteNumeric(958, chan->name, "No such exemptchanops word is set");
- }
};
class ExemptHandler : public CheckExemption::EventListener