mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-14 22:38:32 +01:00
Renamed Other > other_things
This commit is contained in:
13
other_things/irc-old-save/messages.lua
Normal file
13
other_things/irc-old-save/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.
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user