Fixed ability to specify jar file name in msm <server> jar

An incorrect level of validation was enforced for the file name which
prevented dots. It now accepts anything found.
This commit is contained in:
Marcus Whybrow 2012-07-10 01:41:06 +01:00
parent 2352321cf0
commit 6fead1d3d2

View File

@ -2711,7 +2711,7 @@ main() {
register_command "<name:server> logroll" "command_server_logroll"
register_command "<name:server> backup" "command_server_backup"
register_command "<name:server> jar <name>" "command_server_jar"
register_command "<name:server> jar <name> <name>" "command_server_jar"
register_command "<name:server> jar <name> <string>" "command_server_jar"
register_command "<name:server> whitelist|wl on" "command_server_whitelist_on"
register_command "<name:server> whitelist|wl off" "command_server_whitelist_off"
register_command "<name:server> whitelist|wl add <string>" "command_server_whitelist_add"