diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-12-30 17:51:22 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-12-30 17:51:22 +0800 |
commit | b1c20a1f24cc7e17d446b2ac4e4118c36173dc20 (patch) | |
tree | a55942645f0cbc5db38aad471ac92e2d5b4c7c8c /script/service/telemetry.lua | |
parent | a555b92349e2ab07b9111a296618a69caa068032 (diff) | |
download | lua-language-server-b1c20a1f24cc7e17d446b2ac4e4118c36173dc20.zip |
update
Diffstat (limited to 'script/service/telemetry.lua')
-rw-r--r-- | script/service/telemetry.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script/service/telemetry.lua b/script/service/telemetry.lua index 8f24b7d1..b61e565b 100644 --- a/script/service/telemetry.lua +++ b/script/service/telemetry.lua @@ -74,7 +74,7 @@ end timer.wait(5, function () timer.loop(300, function () - if not config.get(nil, 'Lua.telemetry.enable') then + if not config.get(uri, 'Lua.telemetry.enable') then return end local suc, link = pcall(net.connect, 'tcp', 'moe-moe.love', 11577) @@ -93,7 +93,7 @@ timer.wait(5, function () end end)() timer.loop(1, function () - if not config.get(nil, 'Lua.telemetry.enable') then + if not config.get(uri, 'Lua.telemetry.enable') then return end net.update() @@ -103,7 +103,7 @@ end) local m = {} function m.updateConfig() - if config.get(nil, 'Lua.telemetry.enable') ~= nil then + if config.get(uri, 'Lua.telemetry.enable') ~= nil then return end if m.hasShowedMessage then |