add a /q alias for /query

This commit is contained in:
Tomasz Śniatowski 2009-08-08 12:15:34 +01:00
parent 1a934ac94b
commit aede21604c
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,8 @@ Version 1.7.2+svn:
* Updated translations: Czech, Dutch, Estonian, French, German, Hungarian,
Polish, Slovak
* Updated Drake Clasher, Arbiter and Slasher descriptions.
* Multiplayer
* Added a /q alias for /query
* Unit balancing:
* Added Dwarvish Stalwart, Elder Wose, Shock Trooper and White Mage to
random_leader of the default era.

View File

@ -2070,6 +2070,7 @@ private:
register_command("query", &chat_command_handler::do_network_send,
_("Send a query to the server. Without arguments the server"
" should tell you the available commands."));
register_alias("query", "q");
register_command("ban", &chat_command_handler::do_network_send_req_arg,
_("Ban and kick a player or observer. If he is not in the"
" game but on the server he will only be banned."), "<nick>");