From: timriker Date: Thu, 30 Jan 2003 18:48:19 +0000 (+0000) Subject: try others X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2ff74dfe7ba06ae0c2e461ebaf09a8fffe77389d;p=infobot.git try others git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@761 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/BZFlag.pl b/src/Modules/BZFlag.pl index d6e2429..e0ca993 100755 --- a/src/Modules/BZFlag.pl +++ b/src/Modules/BZFlag.pl @@ -117,9 +117,10 @@ sub BZFlag::querytext { # quit if version isn't valid return 'not a bzflag server' if ($magic ne "BZFS"); - return 'incompatible version' if ($major < 1); - return 'incompatible version' if ($major == 1 && $minor < 7); - return 'incompatible version' if ($major == 1 && $minor == 7 && $revision eq "b"); + # try incompatible for BZFlag:Zero etc. + $response = 'incompatible version: ' if ($major < 1); + $response = 'incompatible version: ' if ($major == 1 && $minor < 7); + $response = 'incompatible version: ' if ($major == 1 && $minor == 7 && $revision eq "b"); # quit if rejected return 'rejected by server' if ($port == 0);