mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +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.',
|
||||
utils.exnToString(e))
|
||||
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))
|
||||
else:
|
||||
irc.reply(help)
|
||||
|
Loading…
Reference in New Issue
Block a user