aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_console.lua
diff options
context:
space:
mode:
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";