mirror of
https://github.com/minetest-mods/irc.git
synced 2025-06-29 22:50:32 +02:00
Remove included Lua and LuaSocket source
Also rename README.txt to README.md and update it.
This commit is contained in:
13
messages.lua
Normal file
13
messages.lua
Normal file
@ -0,0 +1,13 @@
|
||||
-- This file is licensed under the terms of the BSD 2-clause license.
|
||||
-- See LICENSE.txt for details.
|
||||
|
||||
mt_irc.msgs = mt_irc.lib.msgs
|
||||
|
||||
function mt_irc:sendLocal(message)
|
||||
minetest.chat_send_all(message)
|
||||
end
|
||||
|
||||
function mt_irc:playerMessage(name, message)
|
||||
return ("<%s> %s"):format(name, message)
|
||||
end
|
||||
|
Reference in New Issue
Block a user