changeset 11892 | 050c515fe9aa |
parent 11891 | b043e1bb8e8e |
child 11893 | df76802dc09c |
--- a/plugins/mod_admin_shell.lua Wed Nov 10 16:28:54 2021 +0100 +++ b/plugins/mod_admin_shell.lua Wed Nov 10 20:25:37 2021 +0100 @@ -661,7 +661,8 @@ title = "Dir"; width = 3; key = "direction"; - mapper = function (dir) + mapper = function(dir, session) + if session.incoming and session.outgoing then return "<->"; end if dir == "outgoing" then return "-->"; end if dir == "incoming" then return "<--"; end return ""