Changed to a super, etc.

This commit is contained in:
Jeremy Fincher 2004-09-06 08:04:03 +00:00
parent d95759931e
commit b133e59af4

View File

@ -97,9 +97,9 @@ if os.name == 'posix':
class Config(callbacks.Privmsg): class Config(callbacks.Privmsg):
def callCommand(self, method, irc, msg, *L): def callCommand(self, name, irc, msg, *L, **kwargs):
try: try:
callbacks.Privmsg.callCommand(self, method, irc, msg, *L) super(Config, self).callCommand(name, irc, msg, *L, **kwargs)
except InvalidRegistryName, e: except InvalidRegistryName, e:
irc.error('%r is not a valid configuration variable.' % e.args[0]) irc.error('%r is not a valid configuration variable.' % e.args[0])
except registry.InvalidRegistryValue, e: except registry.InvalidRegistryValue, e: