summaryrefslogtreecommitdiff
path: root/src/commandhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-23 00:25:26 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-23 00:25:26 +0300
commitf1beb8d910253a31b9dd239071effa2d518ceee0 (patch)
treea350b4c4fb4aa720911aa21d7956200ddb904481 /src/commandhandler.h
parent2fcfbc4b1136265cbd463b9d3b721ce0cad52fe0 (diff)
downloadmv-f1beb8d910253a31b9dd239071effa2d518ceee0.tar.gz
mv-f1beb8d910253a31b9dd239071effa2d518ceee0.tar.bz2
mv-f1beb8d910253a31b9dd239071effa2d518ceee0.tar.xz
mv-f1beb8d910253a31b9dd239071effa2d518ceee0.zip
Add chat commands for using server side ignore for all whispers.
Commands: /serverignoreall and /serverunignoreall
Diffstat (limited to 'src/commandhandler.h')
-rw-r--r--src/commandhandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commandhandler.h b/src/commandhandler.h
index 52080dfcd..a082f950e 100644
--- a/src/commandhandler.h
+++ b/src/commandhandler.h
@@ -290,6 +290,12 @@ class CommandHandler
void handleAddIgnoreAttack(const std::string &args,
ChatTab *tab A_UNUSED);
+ void handleServerIgnoreAll(const std::string &args,
+ ChatTab *tab A_UNUSED);
+
+ void handleServerUnIgnoreAll(const std::string &args,
+ ChatTab *tab A_UNUSED);
+
void handleDump(const std::string &args, ChatTab *tab);
void handleCacheInfo(const std::string &args, ChatTab *tab A_UNUSED);