Changeset

2349:e0d9f4000d6b

modulemanager: Fixed a global access.
author Waqas Hussain <waqas20@gmail.com>
date Thu, 10 Dec 2009 03:00:16 +0500
parents 2348:c7e5ed5eca99
children 2350:443e388988e7
files core/modulemanager.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);