scripts/mcbot.cgi
changeset 25 a0fad312ea30
parent 0 586472add385
child 33 56571d34d754
--- 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 - <a href=\"$b\">$b</a><br>";
-		} else {
-			print "$a - $b<br>";
-		}
-	}
+   	if ( $b && !($a =~ /mcbot/)) {
+    	if($b =~ /^http/ ) {
+	    	print "$a - <a href=\"$b\">$b</a><br>";
+   		} else {
+    		print "$a - $b<br>";
+	    }
+   	}
 }
 
 print "\n<br>$a\n";