diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-08-03 09:40:06 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-08-03 09:40:06 +0100 |
commit | effb4e1b72824ec350e7e804001e9b1abc2a4428 (patch) | |
tree | a23cdc0db49a6c31465f61946c56791aadf28e9d /core | |
parent | 02f918526ba00028322427c13aacf98546e134a5 (diff) | |
download | prosody-effb4e1b72824ec350e7e804001e9b1abc2a4428.tar.gz prosody-effb4e1b72824ec350e7e804001e9b1abc2a4428.zip |
s2smanager: brackets, just to be sure :)
Diffstat (limited to 'core')
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index dea65e6a..ddaaea9c 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -72,7 +72,7 @@ local function bounce_sendq(session, reason) 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(); |