Fix RCON authentication failed test

This commit is contained in:
Ben Peddell 2016-10-01 07:48:58 +10:00
parent 461729259c
commit 2bc099f1a3
2 changed files with 1 additions and 1 deletions

BIN
tools/.arkmanager.swp Normal file

Binary file not shown.

View File

@ -394,7 +394,7 @@ rconcmd() {
my $reqid = 1;
sendpkt($sock, $reqid, 3, $password);
my ($resid, $restype, $rcvbody) = recvpkt($sock);
die "Authentication failed" if $resid == -1;
die "Authentication failed" if $resid == -1 or $resid == 0xFFFFFFFF;
}
my $port = $ARGV[0];