mirror of
https://github.com/minetest-mods/irc.git
synced 2024-11-05 09:40:20 +01:00
Merge pull request #1 from sfan5/patch-1
Make Message Format for all Messages the same
This commit is contained in:
commit
ba44bcec7c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user