mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Update string comparison to a newer string.
Signed-off-by: James McCoy <vega.james@gmail.com>
This commit is contained in:
parent
b0846f914e
commit
6a134eb302
@ -1206,7 +1206,7 @@ class Commands(BasePlugin):
|
|||||||
self.log.debug('Got %s, giving argument error.',
|
self.log.debug('Got %s, giving argument error.',
|
||||||
utils.exnToString(e))
|
utils.exnToString(e))
|
||||||
help = self.getCommandHelp(command)
|
help = self.getCommandHelp(command)
|
||||||
if help.endswith('command has no help.'):
|
if 'command has no help.' in help:
|
||||||
irc.error('Invalid arguments for %s.' % formatCommand(command))
|
irc.error('Invalid arguments for %s.' % formatCommand(command))
|
||||||
else:
|
else:
|
||||||
irc.reply(help)
|
irc.reply(help)
|
||||||
|
Loading…
Reference in New Issue
Block a user