Software /
code /
prosody
Comparison
core/stanza_router.lua @ 10104:3965081809ba
core.stanza_router: Remove tostring call from logging
Taken care of by loggingmanager now
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 30 Jul 2019 02:18:59 +0200 |
parent | 9527:ced174f29d9a |
child | 10245:88efdfb0a126 |
comparison
equal
deleted
inserted
replaced
10103:18cab054364a | 10104:3965081809ba |
---|---|
197 -- old stanza routing code removed | 197 -- old stanza routing code removed |
198 core_post_stanza(origin, stanza); | 198 core_post_stanza(origin, stanza); |
199 else | 199 else |
200 local host_session = hosts[from_host]; | 200 local host_session = hosts[from_host]; |
201 if not host_session then | 201 if not host_session then |
202 log("error", "No hosts[from_host] (please report): %s", tostring(stanza)); | 202 log("error", "No hosts[from_host] (please report): %s", stanza); |
203 else | 203 else |
204 local xmlns = stanza.attr.xmlns; | 204 local xmlns = stanza.attr.xmlns; |
205 stanza.attr.xmlns = nil; | 205 stanza.attr.xmlns = nil; |
206 local routed = host_session.events.fire_event("route/remote", { | 206 local routed = host_session.events.fire_event("route/remote", { |
207 origin = origin, stanza = stanza, from_host = from_host, to_host = host }); | 207 origin = origin, stanza = stanza, from_host = from_host, to_host = host }); |