diff --git a/plugins/Http.py b/plugins/Http.py index ff639476a..18f723ec3 100644 --- a/plugins/Http.py +++ b/plugins/Http.py @@ -84,9 +84,9 @@ class Http(callbacks.PrivmsgCommandAndRegexp): _titleRe = re.compile(r'(.*?)', re.I | re.S) - def callCommand(self, method, irc, msg, *L, **kwargs): + def callCommand(self, name, irc, msg, *L, **kwargs): try: - super(Http, self).callCommand(method, irc, msg, *L, **kwargs) + super(Http, self).callCommand(name, irc, msg, *L, **kwargs) except webutils.WebError, e: irc.error(str(e))