From f4761d658102198abcce6b020c2c0f0e756d534a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Oct 2015 20:04:47 +0300 Subject: Add protection attribute to input actions. Unsafe actions blocked from remote usage. --- src/net/eathena/playerrecv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index d397a6577..f0a1dc4f4 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -357,7 +357,7 @@ void PlayerRecv::processPlayerClientCommand(Net::MessageIn &msg) cmd = command; args.clear(); } - inputManager.executeChatCommand(cmd, args, nullptr); + inputManager.executeRemoteChatCommand(cmd, args, nullptr); } void PlayerRecv::processOnlineList(Net::MessageIn &msg) -- cgit v1.2.3-70-g09d2