projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Escape replacement macros in preferences
[mudpy.git]
/
mudpy
/
command.py
diff --git
a/mudpy/command.py
b/mudpy/command.py
index
ebd9036
..
1138aa8
100644
(file)
--- 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."""
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()
message = ""
arguments = parameters.split()
allowed_prefs = set()