diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-01 16:31:18 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-01 16:31:18 +0800 |
commit | 3011a124fe961bb623fa627abfd64030f128b4c1 (patch) | |
tree | db3715606e005dd5a444356c58cb3e36f488179a /script/service/telemetry.lua | |
parent | 329e2d7dfa0268a6288086f1a2e3581d5b31cfc6 (diff) | |
download | lua-language-server-3011a124fe961bb623fa627abfd64030f128b4c1.zip |
cleanup
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 30b26586..19fe86f1 100644 --- a/script/service/telemetry.lua +++ b/script/service/telemetry.lua @@ -65,7 +65,7 @@ end timer.wait(5, function () timer.loop(300, function () - if not config.config.telemetry.enable then + if not config.Lua.telemetry.enable then return end local suc, link = pcall(net.connect, 'tcp', 'moe-moe.love', 11577) @@ -83,7 +83,7 @@ timer.wait(5, function () end end)() timer.loop(1, function () - if not config.config.telemetry.enable then + if not config.Lua.telemetry.enable then return end net.update() @@ -93,7 +93,7 @@ end) local m = {} function m.updateConfig() - if config.config.telemetry.enable ~= nil then + if config.Lua.telemetry.enable ~= nil then return end if m.hasShowedMessage then |