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

Merge pull request #1 from sfan5/patch-1

Make Message Format for all Messages the same
This commit is contained in:
kaeza 2012-12-02 00:25:33 -08:00
commit ba44bcec7c

View File

@ -1,4 +1,3 @@
-- IRC Mod for Minetest
-- (C) 2012 Diego Martínez <kaeza@users.sf.net>
--
@ -62,7 +61,7 @@ minetest.register_globalstep(function ( dtime )
if (mt_irc.cur_time >= DTIME) then
if (mt_irc.buffered_messages) then
for _, t in ipairs(mt_irc.buffered_messages) do
irc.say(CHANNEL, "<"..t.name.."> "..(t.message or ""));
irc.say(CHANNEL, "[GAME:"..t.name.."]: "..(t.message or ""));
end
mt_irc.buffered_messages = nil;
end