Fri, 24 Oct 2008 15:18:53 +0100
Fix nil concat when non-existant user is probed (another)
core/stanza_router.lua | file | annotate | diff | comparison | revisions |
--- a/core/stanza_router.lua Fri Oct 24 15:16:18 2008 +0100 +++ b/core/stanza_router.lua Fri Oct 24 15:18:53 2008 +0100 @@ -198,7 +198,7 @@ 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