summaryrefslogtreecommitdiff
path: root/src/messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/messages.cpp')
-rw-r--r--src/messages.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/messages.cpp b/src/messages.cpp
index 273ab827b..b1c3c074d 100644
--- a/src/messages.cpp
+++ b/src/messages.cpp
@@ -57,6 +57,18 @@ void Error::Run(MessageSource &source, const std::vector<Anope::string> &params,
Anope::Quitting = true;
}
+Ignore::Ignore(Module *creator, const Anope::string &mname)
+ : IRCDMessage(creator, mname, 0)
+{
+ SetFlag(FLAG_SOFT_LIMIT);
+}
+
+void Ignore::Run(MessageSource &source, const std::vector<Anope::string> &params, const Anope::map<Anope::string> &tags)
+{
+ Log(LOG_DEBUG_3) << "Intentionally ignoring " << name << " message";
+}
+
+
void Invite::Run(MessageSource &source, const std::vector<Anope::string> &params, const Anope::map<Anope::string> &tags)
{
User *targ = User::Find(params[0]);