Index: blockanonymouslinks.module
===================================================================
--- blockanonymouslinks.module	(revision 872)
+++ blockanonymouslinks.module	(working copy)
@@ -18,7 +18,7 @@
       if (!$user->uid) {
       	//the first check is derived from drupal 5 filter_url method
       	//the second one, from the SMF NoSpamByGuests mod
-        if (preg_match("@(http://|https://|ftp://|mailto:|smb://|afp://|file://|gopher://|news://|ssl://|sslv2://|sslv3://|tls://|tcp://|udp://)+@se", $a1["comment"]) || strpos($a1["comment"], "www.") !== false) {
+        if (preg_match("@(http://|https://|ftp://|mailto:|smb://|afp://|file://|gopher://|news://|ssl://|sslv2://|sslv3://|tls://|tcp://|udp://)+@si", $a1["comment"]) || stripos($a1["comment"], "www.") !== false) {
           form_set_error("comment", t("You have to be logged in to post links. This is an anti-spam measure."));
         }
       }
