Server-side fix to /adminmsg not working right
This commit is contained in:
parent
705a9cc820
commit
3f7b28f85b
1 changed files with 1 additions and 1 deletions
|
@ -1290,7 +1290,7 @@ void server::process_query(const network::connection sock,
|
||||||
// Commands a player may issue.
|
// Commands a player may issue.
|
||||||
if (command == "status") {
|
if (command == "status") {
|
||||||
response << process_command(command + " " + pl->second.name(), pl->second.name());
|
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 == "games"
|
||||||
|| command == "metrics"
|
|| command == "metrics"
|
||||||
|| command == "motd"
|
|| command == "motd"
|
||||||
|
|
Loading…
Add table
Reference in a new issue