aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_console.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-06-12 15:42:43 +0100
committerMatthew Wild <mwild1@gmail.com>2009-06-12 15:42:43 +0100
commit3462f03de8b3346c28aa55d8b86cfa55ccfe8004 (patch)
treeec0c83fbe71eb2ed5f7a4aec5f3ca916319f693a /plugins/mod_console.lua
parent12d0bf716490e92fc718275f6f92b1d5987a6d2f (diff)
downloadprosody-3462f03de8b3346c28aa55d8b86cfa55ccfe8004.tar.gz
prosody-3462f03de8b3346c28aa55d8b86cfa55ccfe8004.zip
mod_console: Fix syntax error
Diffstat (limited to 'plugins/mod_console.lua')
-rw-r--r--plugins/mod_console.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua
index 097d7bd8..a975ca70 100644
--- a/plugins/mod_console.lua
+++ b/plugins/mod_console.lua
@@ -418,7 +418,7 @@ function def_env.s2s:close(from, to)
else
print("Closed "..count.." incoming session"..((count == 1 and "") or "s").." from "..from.." to "..to);
end
- elseif hosts[to] and hosts[from]
+ elseif hosts[to] and hosts[from] then
return false, "Both of the hostnames you specified are local, there are no s2s sessions to close";
else
return false, "Neither of the hostnames you specified are being used on this server";