# HG changeset patch # User Kim Alvefur # Date 1636572337 -3600 # Node ID 050c515fe9aae6056fd25e7ccd080bdcae041cb6 # Parent b043e1bb8e8eeca6f1fd2010cf2311a1dc5a4ebb mod_admin_shell: Indicate bi-directional s2s connections diff -r b043e1bb8e8e -r 050c515fe9aa plugins/mod_admin_shell.lua --- 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 ""