plugins/mod_admin_shell.lua
changeset 11950 c0a01e5f5656
parent 11949 142b9c4010fe
child 11953 ae4bc56f18e0
--- a/plugins/mod_admin_shell.lua	Fri Nov 26 11:39:13 2021 +0100
+++ b/plugins/mod_admin_shell.lua	Fri Nov 26 11:40:48 2021 +0100
@@ -716,11 +716,11 @@
 	ip = { title = "IP address"; width = 40; key = "ip" };
 	status = {
 		title = "Status";
-		width = 11;
+		width = 6;
 		key = "presence";
 		mapper = function(p)
-			if not p then return "unavailable"; end
-			return p:get_child_text("show") or "available";
+			if not p then return ""; end
+			return p:get_child_text("show") or "online";
 		end;
 	};
 	secure = {