From 3462f03de8b3346c28aa55d8b86cfa55ccfe8004 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 12 Jun 2009 15:42:43 +0100 Subject: mod_console: Fix syntax error --- plugins/mod_console.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_console.lua') 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"; -- cgit v1.2.3