diff options
author | Kim Alvefur <zash@zash.se> | 2012-04-24 21:37:20 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-04-24 21:37:20 +0200 |
commit | e8e1d220b860a0e45962f810e7b1dfbb9900ce61 (patch) | |
tree | d642bb06897817426e802c7878ceb14987e164be | |
parent | f39d1cdd38dd84425c31d8f44972fde25c8d6f91 (diff) | |
download | prosody-e8e1d220b860a0e45962f810e7b1dfbb9900ce61.tar.gz prosody-e8e1d220b860a0e45962f810e7b1dfbb9900ce61.zip |
mod_version: Fix missing comma and correct prefix for util.pposix
-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 52d8d290..d35103b6 100644 --- a/plugins/mod_version.lua +++ b/plugins/mod_version.lua @@ -21,7 +21,7 @@ if not module:get_option("hide_os_type") then version = "Windows"; else local os_version_command = module:get_option("os_version_command"); - local ok pposix = pcall(require, "pposix"); + local ok, pposix = pcall(require, "util.pposix"); if not os_version_command and (ok and pposix and pposix.uname) then version = pposix.uname().sysname; end |