Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 6578:6f55db7afd3b
mod_admin_telnet: Require util.pposix (fixes #471)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 20 Feb 2015 22:53:12 +0000 |
parent | 6380:4220ffb87b22 |
child | 6580:74946f050209 |
child | 7029:b2d160baa957 |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Fri Feb 20 19:00:01 2015 +0100 +++ b/plugins/mod_admin_telnet.lua Fri Feb 20 22:53:12 2015 +0000 @@ -313,6 +313,7 @@ end function def_env.server:memory() + local pposix = require("util.pposix"); if not pposix.meminfo then return true, "Lua is using "..collectgarbage("count"); end