Server-side fix to /adminmsg not working right

This commit is contained in:
ln-zookeeper 2016-04-11 16:40:00 +03:00
parent cdf6f4a6f8
commit 37deb40b9b

View file

@ -1295,7 +1295,7 @@ void server::process_query(const network::connection sock,
// Commands a player may issue.
if (command == "status") {
response << process_command(command + " " + pl->second.name(), pl->second.name());
} else if (command.find("adminmsg") == 0
} else if (command.find("adminmsg") == 0 || command.find("report") == 0
|| command == "games"
|| command == "metrics"
|| command == "motd"