aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_admin_telnet.lua1
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