diff options
-rw-r--r-- | plugins/mod_version.lua | 2 |
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 |