mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-19 23:20:57 +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()
|
db.commit()
|
||||||
return db
|
return db
|
||||||
|
|
||||||
_urlRe = re.compile(r"([^<\s]+://[^>\s]+)", re.I)
|
_urlRe = re.compile(r"([^\[<(\s]+://[^\])>\s]+)", re.I)
|
||||||
def doPrivmsg(self, irc, msg):
|
def doPrivmsg(self, irc, msg):
|
||||||
callbacks.Privmsg.doPrivmsg(self, irc, msg)
|
callbacks.Privmsg.doPrivmsg(self, irc, msg)
|
||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user