summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/status.py b/plugins/status.py
index fa296c7b..38a26d91 100644
--- a/plugins/status.py
+++ b/plugins/status.py
@@ -7,7 +7,7 @@ class Plugin(BasePlugin):
def init(self):
for st in ('dnd', 'busy', 'afk', 'chat', 'xa', 'away', 'available'):
self.add_command(st,
- lambda line: self.core.command_status(st + ' "'+line+'"'),
+ lambda line,st=st: self.core.command_status(st + ' "'+line+'"'),
usage='[status message]',
short='Set your status as %s' % st,
help='Set your status as %s' % st)