summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils/gmfunctions.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/gmfunctions.cpp b/src/utils/gmfunctions.cpp
index c8e2e7aa6..5ae3f2bd4 100644
--- a/src/utils/gmfunctions.cpp
+++ b/src/utils/gmfunctions.cpp
@@ -104,8 +104,9 @@ void runCharCommand(const std::string &command,
chatHandler->talk(std::string(
settings.gmCharCommandSymbol).append(
command).append(
- " ").append(
- name));
+ " \"").append(
+ name).append(
+ "\" "));
}
}