mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Made the snarfer remove the parentheses from a URL.
This commit is contained in:
parent
d472938bae
commit
388fae08c5
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user