aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-10-24 15:18:53 +0100
committerMatthew Wild <mwild1@gmail.com>2008-10-24 15:18:53 +0100
commitd45f82770ffe798ed725084095c5dd66aa164248 (patch)
tree3a9ecd5671bbfed53cca196b35e78e568f663ec4 /core/stanza_router.lua
parentb8aca953d66a88055789e2080d852e8938671381 (diff)
downloadprosody-d45f82770ffe798ed725084095c5dd66aa164248.tar.gz
prosody-d45f82770ffe798ed725084095c5dd66aa164248.zip
Fix nil concat when non-existant user is probed (another)
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r--core/stanza_router.lua2
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