diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-10-24 15:18:53 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-10-24 15:18:53 +0100 |
commit | d45f82770ffe798ed725084095c5dd66aa164248 (patch) | |
tree | 3a9ecd5671bbfed53cca196b35e78e568f663ec4 | |
parent | b8aca953d66a88055789e2080d852e8938671381 (diff) | |
download | prosody-d45f82770ffe798ed725084095c5dd66aa164248.tar.gz prosody-d45f82770ffe798ed725084095c5dd66aa164248.zip |
Fix nil concat when non-existant user is probed (another)
-rw-r--r-- | core/stanza_router.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua index b4ec677f..599e7882 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -198,7 +198,7 @@ function core_route_stanza(origin, stanza) end end else - send(origin, st.presence({from=user.."@"..host, to=origin.username.."@"..origin.host, type="unsubscribed"})); + send(origin, st.presence({from=user.."@"..host, to=stanza.attr.from, type="unsubscribed"})); end elseif stanza.attr.type == "subscribe" then -- TODO |