mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-11 10:38:27 +00:00
Merge pull request #418 from klightspeed/fix-653e934
Fix typo when comparing strings - should fix #417
This commit is contained in:
commit
ed9d38207e
@ -320,7 +320,7 @@ rconcmd() {
|
||||
auth($socket, $password);
|
||||
sendpkt($socket, 2, 2, $command);
|
||||
my ($resid, $restype, $rcvbody) = recvpkt($socket);
|
||||
if ($rcvbody == "Server received, But no response!!") {
|
||||
if ($rcvbody eq "Server received, But no response!!") {
|
||||
print "Command processed\n";
|
||||
} else {
|
||||
print $rcvbody, "\n";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user