Merge pull request #418 from klightspeed/fix-653e934

Fix typo when comparing strings - should fix #417
This commit is contained in:
Ben Peddell 2016-02-21 01:44:53 +10:00
commit ed9d38207e

View File

@ -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";