diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 22:53:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 22:53:07 +0300 |
commit | c7266cda03bcab72b147b5597a126f01f915fe2c (patch) | |
tree | a2d216f146f8ad96c1dd066abbef90cd8eb7002a /src/actions | |
parent | 76fd633b0042f2ab3a161460ee03c1978e7c0db9 (diff) | |
download | mv-c7266cda03bcab72b147b5597a126f01f915fe2c.tar.gz mv-c7266cda03bcab72b147b5597a126f01f915fe2c.tar.bz2 mv-c7266cda03bcab72b147b5597a126f01f915fe2c.tar.xz mv-c7266cda03bcab72b147b5597a126f01f915fe2c.zip |
Move chat command /serverignoreall into actions.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 6 | ||||
-rw-r--r-- | src/actions/actions.h | 1 |
2 files changed, 7 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 diff --git a/src/actions/actions.h b/src/actions/actions.h index 5a60e83f9..a731574bb 100644 --- a/src/actions/actions.h +++ b/src/actions/actions.h @@ -69,6 +69,7 @@ namespace Actions decHandler(dirs); decHandler(uptime); decHandler(dump); + decHandler(serverIgnoreAll); } // namespace Actions #undef decHandler |