From: dms Date: Fri, 4 Aug 2000 15:19:24 +0000 (+0000) Subject: at -> mailto remnants from stock infobot removed X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d9d316d7b8df5f1bf60075a123be803526960dac;p=infobot.git at -> mailto remnants from stock infobot removed git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@29 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/Factoids/Statement.pl b/blootbot/src/Factoids/Statement.pl index 09e59f9..fe83ab3 100644 --- a/blootbot/src/Factoids/Statement.pl +++ b/blootbot/src/Factoids/Statement.pl @@ -31,11 +31,6 @@ sub doStatement { $in =~ s/ www\./ http:\/\/www\./ig; $in =~ s/ ftp\./ ftp:\/\/ftp\./ig; - # look for a "type nugget". this should be externalized. - $urlType = "mailto" if ($in =~ /\bmailto:.+\@.+\..{2,}/i); - $urlType = "mailto" if ($in =~ s/\b(\S+\@\S+\.\S{2,})/mailto:$1/gi); - $in =~ s/(mailto:)+/mailto:/g; - $urlType = "about" if ($in =~ /\babout:/i); $urlType = 'afp' if ($in =~ /\bafp:/); $urlType = 'file' if ($in =~ /\bfile:/);