stanza_router: s/conn/stream/ in log message

Sat, 16 May 2009 20:48:07 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 16 May 2009 20:48:07 +0100
changeset 1179
503d68e7e18a
parent 1178
f332c033bfc8
child 1180
8c5d945c1f35

stanza_router: s/conn/stream/ in log message

core/stanza_router.lua file | annotate | diff | comparison | revisions
--- a/core/stanza_router.lua	Sat May 16 20:19:15 2009 +0100
+++ b/core/stanza_router.lua	Sat May 16 20:48:07 2009 +0100
@@ -107,7 +107,7 @@
 		if origin.type == "s2sin" and not origin.dummy then
 			local host_status = origin.hosts[from_host];
 			if not host_status or not host_status.authed then -- remote server trying to impersonate some other server?
-				log("warn", "Received a stanza claiming to be from %s, over a conn authed for %s!", from_host, origin.from_host);
+				log("warn", "Received a stanza claiming to be from %s, over a stream authed for %s!", from_host, origin.from_host);
 				return; -- FIXME what should we do here? does this work with subdomains?
 			end
 		end

mercurial