aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-08-07 18:27:49 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-08-07 18:27:49 +0500
commite051a3cad0c4501cd9b74b7fa21bbd1654ce2113 (patch)
tree473c65741d26a36721fe32225b2247c6275da9a2
parent1cffdf3339206be7f2fbb3741a9b82d1be8f2ae6 (diff)
downloadprosody-e051a3cad0c4501cd9b74b7fa21bbd1654ce2113.tar.gz
prosody-e051a3cad0c4501cd9b74b7fa21bbd1654ce2113.zip
mod_version: Use the module API to read configuration options instead of configmanager
-rw-r--r--plugins/mod_version.lua2
1 files changed, 1 insertions, 1 deletions
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