Software / code / prosody
Changeset
159:d71454f97faf
Fix nil concat when non-existant user is probed (another)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 24 Oct 2008 15:18:53 +0100 |
| parents | 158:7ea96f944681 |
| children | 160:018c7f5ef0ea |
| files | core/stanza_router.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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