summaryrefslogtreecommitdiff
path: root/script/plugin.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/plugin.lua')
-rw-r--r--script/plugin.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/plugin.lua b/script/plugin.lua
index b297cd9b..b77511ff 100644
--- a/script/plugin.lua
+++ b/script/plugin.lua
@@ -146,6 +146,7 @@ local function initPlugin(uri)
return
end
local args = config.get(scp.uri, 'Lua.runtime.pluginArgs')
+ if args == nil then args = {} end
if type(pluginConfigPaths) == 'string' then
pluginConfigPaths = { pluginConfigPaths }
end