From 2ff74dfe7ba06ae0c2e461ebaf09a8fffe77389d Mon Sep 17 00:00:00 2001 From: timriker Date: Thu, 30 Jan 2003 18:48:19 +0000 Subject: [PATCH] try others git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@761 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Modules/BZFlag.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); -- 2.39.5