diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-28 22:43:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-28 22:43:24 +0300 |
commit | 452bcb84e4dd20fb271c975b60631e704376730f (patch) | |
tree | 4f623291e4f86f9365e49755c3506371761b53db /src/utils/chatutils.cpp | |
parent | 5a9bea697e5c5585b40b3788eaa607158d5fed8e (diff) | |
download | mv-452bcb84e4dd20fb271c975b60631e704376730f.tar.gz mv-452bcb84e4dd20fb271c975b60631e704376730f.tar.bz2 mv-452bcb84e4dd20fb271c975b60631e704376730f.tar.xz mv-452bcb84e4dd20fb271c975b60631e704376730f.zip |
Move /me effect to chatutils.
Diffstat (limited to 'src/utils/chatutils.cpp')
-rw-r--r-- | src/utils/chatutils.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/chatutils.cpp b/src/utils/chatutils.cpp index 105b7ace5..c3a877fae 100644 --- a/src/utils/chatutils.cpp +++ b/src/utils/chatutils.cpp @@ -175,3 +175,8 @@ void replaceVars(std::string &str) } } } + +std::string textToMe(const std::string &str) +{ + return strprintf("*%s*", str.c_str()); +} |