From 23d63686ce63cf644e5353e37bdd4a46fe0290a7 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 4 Oct 2009 16:31:27 +0100 Subject: stanza_router: Add COMPAT comment for Pidgin workaround --- core/stanza_router.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/stanza_router.lua b/core/stanza_router.lua index dac098bb..41d09553 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -110,7 +110,7 @@ function core_process_stanza(origin, stanza) end if h.events.fire_event(event, {origin = origin, stanza = stanza}) then return; end end - if host and not hosts[host] then host = nil; end -- workaround for a Pidgin bug which sets 'to' to the SRV result + if host and not hosts[host] then host = nil; end -- COMPAT: workaround for a Pidgin bug which sets 'to' to the SRV result modules_handle_stanza(host or origin.host or origin.to_host, origin, stanza); end end -- cgit v1.2.3