summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 22:53:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 22:53:07 +0300
commitc7266cda03bcab72b147b5597a126f01f915fe2c (patch)
treea2d216f146f8ad96c1dd066abbef90cd8eb7002a /src/actions/actions.cpp
parent76fd633b0042f2ab3a161460ee03c1978e7c0db9 (diff)
downloadmanaverse-c7266cda03bcab72b147b5597a126f01f915fe2c.tar.gz
manaverse-c7266cda03bcab72b147b5597a126f01f915fe2c.tar.bz2
manaverse-c7266cda03bcab72b147b5597a126f01f915fe2c.tar.xz
manaverse-c7266cda03bcab72b147b5597a126f01f915fe2c.zip
Move chat command /serverignoreall into actions.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 3111c551f..46a3d74d8 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -872,4 +872,10 @@ impHandler0(dump)
}
#endif
+impHandler0(serverIgnoreAll)
+{
+ Net::getChatHandler()->ignoreAll();
+ return true;
+}
+
} // namespace Actions