Functions renamed.
This commit is contained in:
parent
884583c769
commit
6ae76e5453
2
lib.lua
2
lib.lua
@ -270,7 +270,7 @@ end -- get_nick_from_irc()
|
||||
|
||||
function lib.send_2_public_channel(user, message)
|
||||
if(not check_global(user)) then return end
|
||||
|
||||
|
||||
local all_player = minetest.get_connected_players()
|
||||
for _,player in pairs(all_player) do
|
||||
local pname = player:get_player_name() -- get Playername
|
||||
|
@ -17,9 +17,9 @@ if(sc.matterbridge == true) then
|
||||
function yl_matterbridge.chat_message(username, message_text)
|
||||
end
|
||||
|
||||
function yl_matterbridge.publish_to_chat(user_name, message_text)
|
||||
function yl_matterbridge.receive_from_bridge(user_name, message_text)
|
||||
local line = "<".. user_name .. "@bridge> " .. message_text
|
||||
sc.sent_2_public_channel(line)
|
||||
sc.send_2_public_channel(line)
|
||||
|
||||
end -- func(user_name
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user