core/modulemanager.lua

changeset 2349
e0d9f4000d6b
parent 2293
8c10f13c0c20
child 2350
443e388988e7
--- a/core/modulemanager.lua	Thu Dec 10 02:50:23 2009 +0500
+++ b/core/modulemanager.lua	Thu Dec 10 03:00:16 2009 +0500
@@ -404,8 +404,8 @@
 	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);

mercurial