missing space in the status plugin

This commit is contained in:
mathieui 2013-03-10 22:59:21 +01:00
parent c33ee919ff
commit f0fb3d5d7a

View file

@ -7,7 +7,7 @@ class Plugin(BasePlugin):
def init(self):
for st in ('dnd', 'busy', 'afk', 'chat', 'xa', 'away', 'available'):
self.api.add_command(st,
lambda line,st=st: self.api.run_command('/status' + st + ' "'+line+'"'),
lambda line,st=st: self.api.run_command('/status ' + st + ' "'+line+'"'),
usage='[status message]',
short='Set your status as %s' % st,
help='Set your status as %s' % st)