mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Let's reorder this, in case it matters sometime.
This commit is contained in:
parent
e9142dc880
commit
cd9ad40591
@ -166,7 +166,7 @@ class URLDB(object):
|
|||||||
|
|
||||||
class URL(callbacks.PrivmsgCommandAndRegexp):
|
class URL(callbacks.PrivmsgCommandAndRegexp):
|
||||||
priority = 100 # lower than 99, the normal priority.
|
priority = 100 # lower than 99, the normal priority.
|
||||||
regexps = ['tinyurlSnarfer', 'titleSnarfer']
|
regexps = ['titleSnarfer', 'tinyurlSnarfer']
|
||||||
_titleRe = re.compile('<title>(.*?)</title>', re.I | re.S)
|
_titleRe = re.compile('<title>(.*?)</title>', re.I | re.S)
|
||||||
def getDb(self, channel):
|
def getDb(self, channel):
|
||||||
return URLDB(channel, self.log)
|
return URLDB(channel, self.log)
|
||||||
|
Loading…
Reference in New Issue
Block a user