Functions renamed.

This commit is contained in:
acmgit 2022-02-26 01:45:20 +01:00
parent 884583c769
commit 6ae76e5453
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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