mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Merge bd7e2680f9
into 2d36d32da8
This commit is contained in:
commit
853cd0b364
1 changed files with 3 additions and 0 deletions
|
@ -383,6 +383,9 @@ void Client::handleCommand_ChatMessage(NetworkPacket *pkt)
|
||||||
|
|
||||||
chatMessage->type = (ChatMessageType) message_type;
|
chatMessage->type = (ChatMessageType) message_type;
|
||||||
|
|
||||||
|
// log the chat message
|
||||||
|
actionstream << "[Chat] " << wide_to_utf8(chatMessage->message) << std::endl;
|
||||||
|
|
||||||
// @TODO send this to CSM using ChatMessage object
|
// @TODO send this to CSM using ChatMessage object
|
||||||
if (modsLoaded() && m_script->on_receiving_message(
|
if (modsLoaded() && m_script->on_receiving_message(
|
||||||
wide_to_utf8(chatMessage->message))) {
|
wide_to_utf8(chatMessage->message))) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue