mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-27 03:00:38 +01:00
14 lines
287 B
Lua
14 lines
287 B
Lua
|
-- This file is licensed under the terms of the BSD 2-clause license.
|
||
|
-- See LICENSE.txt for details.
|
||
|
|
||
|
irc.msgs = irc.lib.msgs
|
||
|
|
||
|
function irc:sendLocal(message)
|
||
|
minetest.chat_send_all(message)
|
||
|
end
|
||
|
|
||
|
function irc:playerMessage(name, message)
|
||
|
return ("<%s> %s"):format(name, message)
|
||
|
end
|
||
|
|