mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 18:44:04 +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):
|
class Http(callbacks.Privmsg):
|
||||||
threaded = True
|
threaded = True
|
||||||
_titleRe = re.compile(r'<title>(.*?)</title>', re.I | re.S)
|
_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):
|
def title(self, irc, msg, args):
|
||||||
"""<url>
|
"""<url>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user