summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 20:47:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 20:47:15 +0300
commite6d02447113b137ce37f2331ae674371c3968e28 (patch)
treee659f4b159c991d8cbd0b167ec74486de06ae91e /src/actions/actions.cpp
parent051b5fc10eaec4f4aec1de8e79f2feae60f0e084 (diff)
downloadplus-e6d02447113b137ce37f2331ae674371c3968e28.tar.gz
plus-e6d02447113b137ce37f2331ae674371c3968e28.tar.bz2
plus-e6d02447113b137ce37f2331ae674371c3968e28.tar.xz
plus-e6d02447113b137ce37f2331ae674371c3968e28.zip
Move chat command /who into actions.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 6a8ba0d5a..73c57985c 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -70,6 +70,7 @@
#include "render/graphics.h"
+#include "net/chathandler.h"
#include "net/ipc.h"
#include "net/net.h"
#include "net/playerhandler.h"
@@ -535,4 +536,10 @@ impHandler(where)
return true;
}
+impHandler0(who)
+{
+ Net::getChatHandler()->who();
+ return true;
+}
+
} // namespace Actions