aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-16 05:40:40 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-16 05:40:40 +0000
commite0c2cbefc36c066a3f219f5b65f50e9c36f1b7c2 (patch)
tree226ecce04c468b11a1c1cec9ef0c30513996793a /plugins/mod_posix.lua
parent8d1005cf4ef5e0fdc661df9b4ef8d49a59ab16bc (diff)
downloadprosody-e0c2cbefc36c066a3f219f5b65f50e9c36f1b7c2.tar.gz
prosody-e0c2cbefc36c066a3f219f5b65f50e9c36f1b7c2.zip
Fix for pposix version detection
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r--plugins/mod_posix.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua
index 0dd92072..6e619c53 100644
--- a/plugins/mod_posix.lua
+++ b/plugins/mod_posix.lua
@@ -1,8 +1,8 @@
-local pposix_version = "0.3.0";
+local want_pposix_version = "0.3.0";
local pposix = assert(require "util.pposix");
-if pposix._VERSION ~= want_pposix_version then log("warn", "Unknown version (%s) of binary pposix module, expected %s", tostring(pposix._VERSION), pposix_version); end
+if pposix._VERSION ~= want_pposix_version then log("warn", "Unknown version (%s) of binary pposix module, expected %s", tostring(pposix._VERSION), want_pposix_version); end
local config_get = require "core.configmanager".get;
local logger_set = require "util.logger".setwriter;