aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-04-24 21:37:20 +0200
committerKim Alvefur <zash@zash.se>2012-04-24 21:37:20 +0200
commit43ea78425295cbd576b7d34ae220abe78694ea82 (patch)
treed642bb06897817426e802c7878ceb14987e164be /plugins
parent01fbb05094892e35809b1da9d3778809a70c5e62 (diff)
downloadprosody-43ea78425295cbd576b7d34ae220abe78694ea82.tar.gz
prosody-43ea78425295cbd576b7d34ae220abe78694ea82.zip
mod_version: Fix missing comma and correct prefix for util.pposix
Diffstat (limited to 'plugins')
-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 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