summaryrefslogtreecommitdiff
path: root/script/client.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/client.lua')
-rw-r--r--script/client.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/script/client.lua b/script/client.lua
index 0778c08d..12020fe5 100644
--- a/script/client.lua
+++ b/script/client.lua
@@ -129,12 +129,10 @@ function m.setConfig(changes, onlyMemory)
return
end
if m.getOption 'changeConfiguration' then
- for _, change in ipairs(finalChanges) do
- proto.notify('$/command', {
- command = 'lua.config',
- data = change,
- })
- end
+ proto.notify('$/command', {
+ command = 'lua.config',
+ data = finalChanges,
+ })
else
local messages = {}
messages[1] = lang.script('WINDOW_CLIENT_NOT_SUPPORT_CONFIG')