Fix a tb with the tell plugin on wrong input

it didn’t make anything crash, but still.
This commit is contained in:
mathieui 2013-06-16 14:47:14 +02:00
parent 2b7676194f
commit 356d8a2184

View file

@ -59,7 +59,7 @@ class Plugin(BasePlugin):
"""/tell <nick> <message>"""
arg = common.shell_split(args)
if len(arg) != 2:
self.command_help('tell')
self.core.command_help('tell')
return
nick, msg = arg
tab = self.api.current_tab()