summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-28 22:43:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-28 22:43:24 +0300
commit452bcb84e4dd20fb271c975b60631e704376730f (patch)
tree4f623291e4f86f9365e49755c3506371761b53db /src/actions/chat.cpp
parent5a9bea697e5c5585b40b3788eaa607158d5fed8e (diff)
downloadManaVerse-452bcb84e4dd20fb271c975b60631e704376730f.tar.gz
ManaVerse-452bcb84e4dd20fb271c975b60631e704376730f.tar.bz2
ManaVerse-452bcb84e4dd20fb271c975b60631e704376730f.tar.xz
ManaVerse-452bcb84e4dd20fb271c975b60631e704376730f.zip
Move /me effect to chatutils.
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r--src/actions/chat.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index b0642f953..3ce066c95 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -39,6 +39,7 @@
#include "net/serverfeatures.h"
#include "utils/booleanoptions.h"
+#include "utils/chatutils.h"
#include "utils/stringutils.h"
#include "debug.h"
@@ -318,7 +319,7 @@ impHandler(party)
impHandler(me)
{
- outString(event.tab, strprintf("*%s*", event.args.c_str()), event.args);
+ outString(event.tab, textToMe(event.args), event.args);
return true;
}