aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-16 05:41:59 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-16 05:41:59 +0000
commitf8661a183c493f34497f329bb4afd13feb549335 (patch)
tree84257cce9bbb5748d7cd1b9fd8d9e21f4d4fe45c
parente0c2cbefc36c066a3f219f5b65f50e9c36f1b7c2 (diff)
downloadprosody-f8661a183c493f34497f329bb4afd13feb549335.tar.gz
prosody-f8661a183c493f34497f329bb4afd13feb549335.zip
mod_posix: logging fix
-rw-r--r--plugins/mod_posix.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua
index 6e619c53..901cb53d 100644
--- a/plugins/mod_posix.lua
+++ b/plugins/mod_posix.lua
@@ -2,7 +2,7 @@
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), want_pposix_version); end
+if pposix._VERSION ~= want_pposix_version then module: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;