Fixed bug with argument handling.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4136 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-05-22 17:27:40 +00:00
parent 9d6c809533
commit e9294b4a3d
@@ -40,9 +40,9 @@ public class Rejector extends PresentsServer
_ports = StringUtil.parseIntArray(args[0]);
_errmsg = args[1];
if (args.length > 1) {
String[] eargs = new String[args.length-1];
System.arraycopy(args, 1, eargs, 0, eargs.length);
if (args.length > 2) {
String[] eargs = new String[args.length-2];
System.arraycopy(args, 2, eargs, 0, eargs.length);
_errmsg = MessageBundle.tcompose(_errmsg, eargs);
}