diff --git a/scripts/mcbot.cgi b/scripts/mcbot.cgi --- a/scripts/mcbot.cgi +++ b/scripts/mcbot.cgi @@ -17,13 +17,13 @@ $b =~ s/^[\t ]+//; # skip blanks $b =~ s/[\n]+//; # for html source :) - if ($b) { - if($b =~ /^http/ ) { - print "$a - $b
"; - } else { - print "$a - $b
"; - } - } + if ( $b && !($a =~ /mcbot/)) { + if($b =~ /^http/ ) { + print "$a - $b
"; + } else { + print "$a - $b
"; + } + } } print "\n
$a\n";