Server-side fix to /adminmsg not working right
This commit is contained in:
parent
cdf6f4a6f8
commit
37deb40b9b
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue