X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=mudpy%2Fcommand.py;h=1138aa85370545c848e06bb7de5992fec495a13f;hp=ebd9036983b8178a0f3d9a7ef71840b811446c46;hb=641a045ea5407a56626c7ea718efc7bbf5152ba1;hpb=9ea1249e8e340f62483da7ea68d3c21b5e0018ea diff --git a/mudpy/command.py b/mudpy/command.py index ebd9036..1138aa8 100644 --- a/mudpy/command.py +++ b/mudpy/command.py @@ -237,6 +237,10 @@ def move(actor, parameters): def preferences(actor, parameters): """List, view and change actor preferences.""" + + # Escape replacement macros in preferences + parameters = mudpy.misc.escape_macros(parameters) + message = "" arguments = parameters.split() allowed_prefs = set()