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

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]