Commit f0fb3d5d authored by mathieui's avatar mathieui

missing space in the status plugin

parent c33ee919
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment