aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_adhoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_admin_adhoc.lua')
-rw-r--r--plugins/mod_admin_adhoc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua
index 8349a383..392e715e 100644
--- a/plugins/mod_admin_adhoc.lua
+++ b/plugins/mod_admin_adhoc.lua
@@ -422,7 +422,7 @@ local function list_s2s_this_handler(self, data, state)
local sess_lines = { r = remotehost,
session_flags(session, { "", direction, remotehost or "?" })};
- if remotehost:match(module_host) or localhost:match(module_host) then
+ if localhost == module_host then
s2s_list[#s2s_list+1] = sess_lines;
end
end