Software /
code /
prosody
Changeset
3432:7f3e45955725
s2smanager: brackets, just to be sure :)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 03 Aug 2010 09:40:06 +0100 |
parents | 3431:c499f4752cd8 |
children | 3433:b567ac8e2040 |
files | core/s2smanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Tue Aug 03 09:39:05 2010 +0100 +++ b/core/s2smanager.lua Tue Aug 03 09:40:06 2010 +0100 @@ -72,7 +72,7 @@ for i, data in ipairs(sendq) do local reply = data[2]; local xmlns = reply.attr.xmlns; - if not xmlns and bouncy_stanzas[reply.name] then + if not(xmlns) and bouncy_stanzas[reply.name] then reply.attr.type = "error"; reply:tag("error", {type = "cancel"}) :tag("remote-server-not-found", {xmlns = "urn:ietf:params:xml:ns:xmpp-stanzas"}):up();