Software /
code /
prosody
Comparison
plugins/mod_posix.lua @ 734:cfb4ec5cba5e
Fix for pposix version detection
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 16 Jan 2009 05:40:40 +0000 |
parent | 728:fa45dfb27ee5 |
child | 735:d247d061409a |
comparison
equal
deleted
inserted
replaced
733:b1aedec00661 | 734:cfb4ec5cba5e |
---|---|
1 | 1 |
2 local pposix_version = "0.3.0"; | 2 local want_pposix_version = "0.3.0"; |
3 | 3 |
4 local pposix = assert(require "util.pposix"); | 4 local pposix = assert(require "util.pposix"); |
5 if pposix._VERSION ~= want_pposix_version then log("warn", "Unknown version (%s) of binary pposix module, expected %s", tostring(pposix._VERSION), pposix_version); end | 5 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 |
6 | 6 |
7 local config_get = require "core.configmanager".get; | 7 local config_get = require "core.configmanager".get; |
8 local logger_set = require "util.logger".setwriter; | 8 local logger_set = require "util.logger".setwriter; |
9 | 9 |
10 module.host = "*"; -- we're a global module | 10 module.host = "*"; -- we're a global module |