From e051a3cad0c4501cd9b74b7fa21bbd1654ce2113 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Fri, 7 Aug 2009 18:27:49 +0500 Subject: mod_version: Use the module API to read configuration options instead of configmanager --- plugins/mod_version.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_version.lua b/plugins/mod_version.lua index 87bff5d9..8912e47a 100644 --- a/plugins/mod_version.lua +++ b/plugins/mod_version.lua @@ -16,7 +16,7 @@ module:add_feature(xmlns_version); local version = "the best operating system ever!"; -if not require "core.configmanager".get("*", "core", "hide_os_type") then +if not module:get_option("hide_os_type") then if os.getenv("WINDIR") then version = "Windows"; else -- cgit v1.2.3