mod_console: Fix syntax error

Fri, 12 Jun 2009 15:42:43 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 12 Jun 2009 15:42:43 +0100
changeset 1341
53decd1ee351
parent 1340
f707d0957155
child 1342
947d94e3619f

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";

mercurial