summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/commands.py b/src/core/commands.py
index d59829b9..84fea78c 100644
--- a/src/core/commands.py
+++ b/src/core/commands.py
@@ -682,7 +682,7 @@ def command_toggle(self, args):
return self.command_help('toggle')
if args[0]:
- self.command_set('%s toggle' % arg[0])
+ self.command_set('%s toggle' % args[0])
@command_args_parser.quoted(1, 1)
def command_server_cycle(self, args):