# HG changeset patch # User Matthew Wild # Date 1244817763 -3600 # Node ID 53decd1ee35145b0fa8e85b51ebc84d68be8bfcc # Parent f707d095715564c2da6b1e34b0964f036f7f9aeb mod_console: Fix syntax error diff -r f707d0957155 -r 53decd1ee351 plugins/mod_console.lua --- 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";