From e9f44e3d6599644b6c33011fb775fd7b381c4ef0 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 20 Feb 2015 22:53:12 +0000 Subject: mod_admin_telnet: Require util.pposix (fixes #471) --- plugins/mod_admin_telnet.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/mod_admin_telnet.lua') 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 -- cgit v1.2.3