Made the snarfer remove the parentheses from a URL.

This commit is contained in:
Jeremy Fincher 2003-10-21 19:20:30 +00:00
parent d472938bae
commit 388fae08c5
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class URLSnarfer(plugins.ChannelDBHandler, callbacks.Privmsg):
db.commit()
return db
_urlRe = re.compile(r"([^<\s]+://[^>\s]+)", re.I)
_urlRe = re.compile(r"([^\[<(\s]+://[^\])>\s]+)", re.I)
def doPrivmsg(self, irc, msg):
callbacks.Privmsg.doPrivmsg(self, irc, msg)
channel = msg.args[0]