From dda80031dad1311f95110f20c51758eb248ba090 Mon Sep 17 00:00:00 2001 From: AliasAlreadyTaken Date: Fri, 25 Feb 2022 21:30:38 +0100 Subject: [PATCH] Unify core VS minetest --- init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)