summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp7
-rw-r--r--src/actions/actions.h1
2 files changed, 8 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
diff --git a/src/actions/actions.h b/src/actions/actions.h
index 21085ea48..db895d644 100644
--- a/src/actions/actions.h
+++ b/src/actions/actions.h
@@ -56,6 +56,7 @@ namespace Actions
decHandler(openTrade);
decHandler(ipcToggle);
decHandler(where);
+ decHandler(who);
} // namespace Actions
#undef decHandler