mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-11 18:48:26 +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);
|
auth($socket, $password);
|
||||||
sendpkt($socket, 2, 2, $command);
|
sendpkt($socket, 2, 2, $command);
|
||||||
my ($resid, $restype, $rcvbody) = recvpkt($socket);
|
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";
|
print "Command processed\n";
|
||||||
} else {
|
} else {
|
||||||
print $rcvbody, "\n";
|
print $rcvbody, "\n";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user