diff --git a/evennia/commands/default/muxcommand.py b/evennia/commands/default/muxcommand.py index 24e15ecdee..1fb431292d 100644 --- a/evennia/commands/default/muxcommand.py +++ b/evennia/commands/default/muxcommand.py @@ -99,7 +99,7 @@ class MuxCommand(Command): # split out switches switches = [] - if args and len(args) > 1 and args[0] == "/": + if args and len(args) > 1 and raw[0] == "/": # we have a switch, or a set of switches. These end with a space. switches = args[1:].split(None, 1) if len(switches) > 1: