diff options
author | red-001 <red-001@outlook.ie> | 2017-01-22 08:05:09 +0000 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-03-13 23:56:05 +0100 |
commit | d7bc346981e189851e490f2417ed015a38bca79b (patch) | |
tree | c74716238c0851b8d9531544faa4433db22e6a84 /src/client.cpp | |
parent | 9978f5af828550d819890fed1fc56d65838a2c4c (diff) | |
download | minetest-d7bc346981e189851e490f2417ed015a38bca79b.tar.gz minetest-d7bc346981e189851e490f2417ed015a38bca79b.tar.bz2 minetest-d7bc346981e189851e490f2417ed015a38bca79b.zip |
[CSM] Add client-sided chat commands (#5092)
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client.cpp b/src/client.cpp index 0af6b4595..3a3e0673e 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1582,11 +1582,7 @@ void Client::typeChatMessage(const std::wstring &message) sendChatMessage(message); // Show locally - if (message[0] == L'/') - { - pushToChatQueue((std::wstring)L"issued command: " + message); - } - else + if (message[0] != L'/') { // compatibility code if (m_proto_ver < 29) { |