1
0
mirror of https://github.com/minetest-mods/irc.git synced 2024-11-16 06:40:19 +01:00

Make Message Format for all Messages the same

This commit is contained in:
sfan5 2012-12-01 08:34:25 +01:00
parent dfab9bbcd4
commit fd3a67c955

View File

@ -1,4 +1,3 @@
-- IRC Mod for Minetest -- IRC Mod for Minetest
-- (C) 2012 Diego Martínez <kaeza@users.sf.net> -- (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.cur_time >= DTIME) then
if (mt_irc.buffered_messages) then if (mt_irc.buffered_messages) then
for _, t in ipairs(mt_irc.buffered_messages) do 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 end
mt_irc.buffered_messages = nil; mt_irc.buffered_messages = nil;
end end