diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 20:47:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 20:47:15 +0300 |
commit | e6d02447113b137ce37f2331ae674371c3968e28 (patch) | |
tree | e659f4b159c991d8cbd0b167ec74486de06ae91e /src/actions/actions.cpp | |
parent | 051b5fc10eaec4f4aec1de8e79f2feae60f0e084 (diff) | |
download | plus-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.cpp | 7 |
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 |