Software /
code /
prosody
Changeset
1341:53decd1ee351
mod_console: Fix syntax error
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 12 Jun 2009 15:42:43 +0100 |
parents | 1340:f707d0957155 |
children | 1342:947d94e3619f |
files | plugins/mod_console.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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";