From e6d02447113b137ce37f2331ae674371c3968e28 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Aug 2014 20:47:15 +0300 Subject: Move chat command /who into actions. --- src/actions/actions.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/actions/actions.cpp') 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 -- cgit v1.2.3-70-g09d2