From c7266cda03bcab72b147b5597a126f01f915fe2c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 22:53:07 +0300 Subject: Move chat command /serverignoreall into actions. --- src/actions/actions.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/actions/actions.cpp') 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 -- cgit v1.2.3-60-g2f50