core/s2smanager.lua

changeset 227
211c2e04c82b
parent 225
bbbd169b326b
child 231
24bcdaacc0bf
equal deleted inserted replaced
226:ba4711c4e8d2 227:211c2e04c82b
38 if not host.sendq then host.sendq = { data }; 38 if not host.sendq then host.sendq = { data };
39 else t_insert(host.sendq, data); end 39 else t_insert(host.sendq, data); end
40 else 40 else
41 log("debug", "going to send stanza to "..to_host.." from "..from_host); 41 log("debug", "going to send stanza to "..to_host.." from "..from_host);
42 -- FIXME 42 -- FIXME
43 if hosts[to_host].from_host ~= from_host then log("error", "WARNING! This is a bug!!!!"); end 43 if hosts[to_host].from_host ~= from_host then log("error", "WARNING! This might, possibly, be a bug, but it might not..."); end
44 hosts[to_host].sends2s(data); 44 hosts[to_host].sends2s(data);
45 log("debug", "stanza sent over "..hosts[to_host].type); 45 log("debug", "stanza sent over "..hosts[to_host].type);
46 end 46 end
47 else 47 else
48 log("debug", "opening a new outgoing connection for this stanza"); 48 log("debug", "opening a new outgoing connection for this stanza");

mercurial