summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-03 22:10:32 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-03 22:10:32 +0300
commit62620d490984f7f75c68f4886a59d8fd57f8eada (patch)
tree4b48611ba722d6f46615e03002772d64fb23e158
parentc3fdaddce478f99c5cfff09a110157dc61b13f8e (diff)
downloadmanaplus-62620d490984f7f75c68f4886a59d8fd57f8eada.tar.gz
manaplus-62620d490984f7f75c68f4886a59d8fd57f8eada.tar.bz2
manaplus-62620d490984f7f75c68f4886a59d8fd57f8eada.tar.xz
manaplus-62620d490984f7f75c68f4886a59d8fd57f8eada.zip
Add missing quotes in some char gm commands.
-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(
+ "\" "));
}
}