mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-20 00:54:45 +01:00
Indentation change.
This commit is contained in:
parent
3884fc451f
commit
c5e48d574f
@ -901,7 +901,7 @@ class IrcObjectProxy(RichReplyMethods):
|
||||
else:
|
||||
if self.commandMethod is not None:
|
||||
# We can recurse here because it only gets called once.
|
||||
return self.error(formatArgumentError(self.commandMethod),
|
||||
return self.reply(formatArgumentError(self.commandMethod),
|
||||
**kwargs)
|
||||
else:
|
||||
raise ArgumentError # We shouldn't get here, but just in case.
|
||||
@ -1108,7 +1108,7 @@ class Privmsg(irclib.IrcCallback):
|
||||
"""Gets the given command from this plugin."""
|
||||
name = canonicalName(name)
|
||||
assert self.isCommand(name), '%s is not a command.' % \
|
||||
utils.quoted(name)
|
||||
utils.quoted(name)
|
||||
return getattr(self, name)
|
||||
|
||||
def callCommand(self, name, irc, msg, *L, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user