summaryrefslogtreecommitdiff
path: root/src/utils/gmfunctions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-07 13:19:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-07 13:19:37 +0300
commit6394328fae6a93d1798bbda6bd8b877bb4aa9241 (patch)
tree2cb4b70c725393ae4f831b01516380206f47208a /src/utils/gmfunctions.cpp
parent6f86c11e0ecee3c980cd7e3cfca8ef72e7aa8a02 (diff)
downloadmanaplus-6394328fae6a93d1798bbda6bd8b877bb4aa9241.tar.gz
manaplus-6394328fae6a93d1798bbda6bd8b877bb4aa9241.tar.bz2
manaplus-6394328fae6a93d1798bbda6bd8b877bb4aa9241.tar.xz
manaplus-6394328fae6a93d1798bbda6bd8b877bb4aa9241.zip
Add quotes into name in char gm commands.
Diffstat (limited to 'src/utils/gmfunctions.cpp')
-rw-r--r--src/utils/gmfunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/gmfunctions.cpp b/src/utils/gmfunctions.cpp
index d548cf79d..b037bcce5 100644
--- a/src/utils/gmfunctions.cpp
+++ b/src/utils/gmfunctions.cpp
@@ -90,9 +90,9 @@ void runCharCommand(const std::string &command,
chatHandler->talk(std::string(
settings.gmCharCommandSymbol).append(
command).append(
- " ").append(
+ " \"").append(
name).append(
- " ").append(
+ "\" ").append(
params),
GENERAL_CHANNEL);
}