mudgangster

Tiny, scriptable MUD client
Log | Files | Refs | README

commit d4bb126b484b9ac4bdbe1064ad887f03d2cad34b
parent cbd64d8318decac12f472da63f6880d9edc6bb8e
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat,  9 May 2020 02:08:54 +0300

Don't send \n infront of private messages

Diffstat:
Msrc/lua/chat.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lua/chat.lua b/src/lua/chat.lua @@ -182,7 +182,7 @@ mud.alias( "/hang", { } ) local function sendPM( chat, message ) - local named = "\n" .. chatName .. " chats to you, '" .. message .. "'" + local named = chatName .. " chats to you, '" .. message .. "'" local data = CommandBytes.pm .. named .. "\n\255" socket.send( chat.socket, data )