Changeset

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
parents 6575:bdaadf70a48f
children 6579:5a82ee60e07e
files plugins/mod_admin_telnet.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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