[SimBot-commits] CVS: simbot/plugins sqlite-logger.pl,1.58,1.59
Status: Abandoned
Brought to you by:
kstange
|
From: Pete P. <fou...@us...> - 2005-08-12 21:09:30
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6133/plugins Modified Files: sqlite-logger.pl Log Message: How did I forget ~ is valid in URLs? Index: sqlite-logger.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/sqlite-logger.pl,v retrieving revision 1.58 retrieving revision 1.59 diff -u -d -p -r1.58 -r1.59 --- sqlite-logger.pl 11 Aug 2005 15:50:25 -0000 1.58 +++ sqlite-logger.pl 12 Aug 2005 21:09:20 -0000 1.59 @@ -998,7 +998,7 @@ sub linkify { . ($bgcolor != -1 ? "bgcolor$color " : '') ); - $tag .= "<span class=\"$class\">" if ($class ne ""); + $tag .= "<span class=\"$class\">" if ($class ne ''); $line =~ s/$block/$tag/; } # end while blocks $line .= "</span>" if ($tag =~ /<span/); @@ -1022,7 +1022,7 @@ sub linkify { next; } - if($url =~ m{^((http|ftp|news|nntp|irc|aim)s?:[\w.?/=\-\&\;]+)}) { + if($url =~ m{^((http|ftp|news|nntp|irc|aim)s?:[\w.?/=\-\&\~\;]+)}) { $curWord = qq($word_prefix<a href="$1">$word</a>$word_suffix); next; } |