diff --git a/init.lua b/init.lua index 60d7f51..ae54282 100644 --- a/init.lua +++ b/init.lua @@ -57,7 +57,7 @@ function send(user_name, message_text) return true end -local function receive(dtime) +local function receive() local url = "http://" .. address .. ":" .. port .. "/api/messages" local timeout = 0 @@ -69,7 +69,6 @@ local function receive(dtime) function(result) if result.succeeded then local data = minetest.parse_json(result.data) - core.log("action", "[MOD] yl_matterbridge : Posted " .. dump(data)) for _,v in ipairs(data) do if v.username and v.text then yl_matterbridge.publish_to_chat(v.username, v.text)