From 6394328fae6a93d1798bbda6bd8b877bb4aa9241 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Mar 2016 13:19:37 +0300 Subject: Add quotes into name in char gm commands. --- src/utils/gmfunctions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/gmfunctions.cpp') 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); } -- cgit v1.2.3-70-g09d2