aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_admin_shell.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index 6449f3a0..f4b46bfb 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -661,7 +661,8 @@ local available_columns = {
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 ""