aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index 65a38ccb..7ee262c4 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -404,8 +404,8 @@ function api:get_option(name, default_value)
return value;
end
-function api:get_option_string(...)
- local value = self:get_option(...);
+function api:get_option_string(name, default_value)
+ local value = self:get_option(name, default_value);
if type(value) == "table" then
if #value > 1 then
self:log("error", "Config option '%s' does not take a list, using just the first item", name);