mirror of
https://github.com/minetest-mods/irc.git
synced 2024-12-28 09:40:17 +01:00
Make Message Format for all Messages the same
This commit is contained in:
parent
dfab9bbcd4
commit
fd3a67c955
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user