1
0
mirror of https://github.com/minetest-mods/irc.git synced 2024-11-05 17:50:20 +01:00

Change formating of remote server join/leave messages

This commit is contained in:
ShadowNinja 2014-02-01 17:58:51 -05:00
parent 8e4b863549
commit 3a06814f18

View File

@ -115,10 +115,10 @@ function mt_irc.hooks.channelChat(user, channel, message)
mt_irc:sendLocal(("<%s@%s> %s")
:format(chatnick, user.nick, chatmessage))
elseif foundjoin then
mt_irc:sendLocal(("*** %s@%s joined the game")
mt_irc:sendLocal(("*** %s joined %s")
:format(joinnick, user.nick))
elseif foundleave then
mt_irc:sendLocal(("*** %s@%s left the game")
mt_irc:sendLocal(("*** %s left %s")
:format(leavenick, user.nick))
elseif foundaction then
mt_irc:sendLocal(("* %s@%s %s")