1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

[CSM] Add client-sided chat commands (#5092)

This commit is contained in:
red-001 2017-01-22 08:05:09 +00:00 committed by Loïc Blot
parent 9978f5af82
commit d7bc346981
9 changed files with 100 additions and 33 deletions

View file

@ -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) {