Shouldn't have taken out the callCommand when I converted to webutils.

This commit is contained in:
Jeremy Fincher 2003-12-02 00:25:54 +00:00
parent 8d9ed6bf87
commit b1f0bbe887

View File

@ -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>