aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-06 10:42:53 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-06 10:42:53 +0100
commit7e1eb156673ece893824829dec7ca3c2d933a434 (patch)
treebad1e94d86511be867239e60e6a87ea8f6aed20e /plugins
parentf13dfe04be7529d816f3fd4cbbf063dac2ae3788 (diff)
downloadprosody-7e1eb156673ece893824829dec7ca3c2d933a434.tar.gz
prosody-7e1eb156673ece893824829dec7ca3c2d933a434.zip
mod_console: Add a space before '(encrypted)' in s2s:show()
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_console.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua
index e2d3435f..5472eb91 100644
--- a/plugins/mod_console.lua
+++ b/plugins/mod_console.lua
@@ -467,7 +467,7 @@ function def_env.s2s:show(match_jid)
for remotehost, session in pairs(host_session.s2sout) do
if (not match_jid) or remotehost:match(match_jid) or host:match(match_jid) then
count_out = count_out + 1;
- print(" "..host.." -> "..remotehost..(session.secure and "(encrypted)" or ""));
+ print(" "..host.." -> "..remotehost..(session.secure and " (encrypted)" or ""));
if session.sendq then
print(" There are "..#session.sendq.." queued outgoing stanzas for this connection");
end
@@ -504,7 +504,7 @@ function def_env.s2s:show(match_jid)
-- Pft! is what I say to list comprehensions
or (session.hosts and #array.collect(keys(session.hosts)):filter(subhost_filter)>0)) then
count_in = count_in + 1;
- print(" "..host.." <- "..(session.from_host or "(unknown)")..(session.secure and "(encrypted)" or ""));
+ print(" "..host.." <- "..(session.from_host or "(unknown)")..(session.secure and " (encrypted)" or ""));
if session.type == "s2sin_unauthed" then
print(" Connection not yet authenticated");
end