diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-16 05:41:59 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-16 05:41:59 +0000 |
commit | f8661a183c493f34497f329bb4afd13feb549335 (patch) | |
tree | 84257cce9bbb5748d7cd1b9fd8d9e21f4d4fe45c | |
parent | e0c2cbefc36c066a3f219f5b65f50e9c36f1b7c2 (diff) | |
download | prosody-f8661a183c493f34497f329bb4afd13feb549335.tar.gz prosody-f8661a183c493f34497f329bb4afd13feb549335.zip |
mod_posix: logging fix
-rw-r--r-- | plugins/mod_posix.lua | 2 |
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; |