diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-02-20 22:53:12 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-02-20 22:53:12 +0000 |
commit | 79b30c593a41c0d90aa29574f82fe20f9dd8be63 (patch) | |
tree | f2376f7cc2ce8b7c5f9e943200f0e8f28a6bc7ec | |
parent | 158dc0f9e1071b627a4928825e4e22d73785cfe8 (diff) | |
download | prosody-79b30c593a41c0d90aa29574f82fe20f9dd8be63.tar.gz prosody-79b30c593a41c0d90aa29574f82fe20f9dd8be63.zip |
mod_admin_telnet: Require util.pposix (fixes #471)
-rw-r--r-- | plugins/mod_admin_telnet.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index e4b5a045..437ded01 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -313,6 +313,7 @@ local function human(kb) end function def_env.server:memory() + local pposix = require("util.pposix"); if not pposix.meminfo then return true, "Lua is using "..collectgarbage("count"); end |