Let's reorder this, in case it matters sometime.

This commit is contained in:
Jeremy Fincher 2004-08-18 18:45:52 +00:00
parent e9142dc880
commit cd9ad40591

View File

@ -166,7 +166,7 @@ class URLDB(object):
class URL(callbacks.PrivmsgCommandAndRegexp):
priority = 100 # lower than 99, the normal priority.
regexps = ['tinyurlSnarfer', 'titleSnarfer']
regexps = ['titleSnarfer', 'tinyurlSnarfer']
_titleRe = re.compile('<title>(.*?)</title>', re.I | re.S)
def getDb(self, channel):
return URLDB(channel, self.log)