mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Shouldn't have taken out the callCommand when I converted to webutils.
This commit is contained in:
parent
8d9ed6bf87
commit
b1f0bbe887
@ -57,6 +57,12 @@ class FreshmeatException(Exception):
|
||||
class Http(callbacks.Privmsg):
|
||||
threaded = True
|
||||
_titleRe = re.compile(r'<title>(.*?)</title>', re.I | re.S)
|
||||
def callCommand(self, method, irc, msg, *L):
|
||||
try:
|
||||
callbacks.Privmsg.callCommand(self, method, irc, msg, *L)
|
||||
except webutils.WebException, e:
|
||||
irc.error(msg, str(e))
|
||||
|
||||
def title(self, irc, msg, args):
|
||||
"""<url>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user