diff options
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 |