mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Made it snarf all URLs, not just ftp/http.
This commit is contained in:
parent
fa518894cc
commit
866916f8c0
@ -82,7 +82,7 @@ class URLSnarfer(callbacks.Privmsg, ChannelDBHandler):
|
||||
db.commit()
|
||||
return db
|
||||
|
||||
_urlRe = re.compile(r"((?:ftp|http)://\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