Fri, 12 Jun 2009 15:42:43 +0100
mod_console: Fix syntax error
plugins/mod_console.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_console.lua Fri Jun 12 15:35:04 2009 +0100 +++ b/plugins/mod_console.lua Fri Jun 12 15:42:43 2009 +0100 @@ -418,7 +418,7 @@ 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";