Software /
code /
prosody
Changeset
734:cfb4ec5cba5e
Fix for pposix version detection
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 16 Jan 2009 05:40:40 +0000 |
parents | 733:b1aedec00661 |
children | 735:d247d061409a |
files | plugins/mod_posix.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_posix.lua Fri Jan 16 05:38:03 2009 +0000 +++ b/plugins/mod_posix.lua Fri Jan 16 05:40:40 2009 +0000 @@ -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;