mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Changed to a super, etc.
This commit is contained in:
parent
d95759931e
commit
b133e59af4
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user