irc/messages.lua

14 lines
287 B
Lua
Raw Normal View History

2013-04-30 00:07:44 +02:00
-- This file is licensed under the terms of the BSD 2-clause license.
-- See LICENSE.txt for details.
irc.msgs = irc.lib.msgs
2013-04-30 00:07:44 +02:00
function irc:sendLocal(message)
minetest.chat_send_all(message)
2013-04-30 00:07:44 +02:00
end
function irc:playerMessage(name, message)
2014-05-06 21:26:13 +02:00
return ("<%s> %s"):format(name, message)
2013-04-30 00:07:44 +02:00
end