aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-04 16:31:27 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-04 16:31:27 +0100
commit23d63686ce63cf644e5353e37bdd4a46fe0290a7 (patch)
tree337422d814c642644bcd8bf20b17ef03128c2e55
parentf25a7309ed1722ee6c8a3b46a293e1fe600ef737 (diff)
downloadprosody-23d63686ce63cf644e5353e37bdd4a46fe0290a7.tar.gz
prosody-23d63686ce63cf644e5353e37bdd4a46fe0290a7.zip
stanza_router: Add COMPAT comment for Pidgin workaround
-rw-r--r--core/stanza_router.lua2
1 files changed, 1 insertions, 1 deletions
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