summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 23:35:31 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 23:35:31 +0300
commit9f39b5c84d0b244e093380e5ad7d53c2a21d2f34 (patch)
tree486e3c373fb7a1e572be9b5a71ed95fc6d4b7707 /src/actions
parentc7266cda03bcab72b147b5597a126f01f915fe2c (diff)
downloadmv-9f39b5c84d0b244e093380e5ad7d53c2a21d2f34.tar.gz
mv-9f39b5c84d0b244e093380e5ad7d53c2a21d2f34.tar.bz2
mv-9f39b5c84d0b244e093380e5ad7d53c2a21d2f34.tar.xz
mv-9f39b5c84d0b244e093380e5ad7d53c2a21d2f34.zip
Move chat command /serverunignoreall into actions.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp6
-rw-r--r--src/actions/actions.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 46a3d74d8..2514ac180 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -878,4 +878,10 @@ impHandler0(serverIgnoreAll)
return true;
}
+impHandler0(serverUnIgnoreAll)
+{
+ Net::getChatHandler()->unIgnoreAll();
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/actions.h b/src/actions/actions.h
index a731574bb..e3e6a2c02 100644
--- a/src/actions/actions.h
+++ b/src/actions/actions.h
@@ -70,6 +70,7 @@ namespace Actions
decHandler(uptime);
decHandler(dump);
decHandler(serverIgnoreAll);
+ decHandler(serverUnIgnoreAll);
} // namespace Actions
#undef decHandler