diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-10-24 15:16:18 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-10-24 15:16:18 +0100 |
commit | b8aca953d66a88055789e2080d852e8938671381 (patch) | |
tree | 99a03a0759ab327b6e206fc23187602eff869ca4 /core | |
parent | 8f431fdd223923be8d57ce8d847bf80d34560653 (diff) | |
download | prosody-b8aca953d66a88055789e2080d852e8938671381.tar.gz prosody-b8aca953d66a88055789e2080d852e8938671381.zip |
Fix nil concat when non-existant user is probed
Diffstat (limited to 'core')
-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 2dcd612f..b4ec677f 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -252,7 +252,7 @@ function core_route_stanza(origin, stanza) -- TODO we would get here for nodeless JIDs too. Do something fun maybe? Echo service? Let plugins use xmpp:server/resource addresses? if stanza.name == "presence" then if stanza.attr.type == "probe" then - send(origin, st.presence({from = user.."@"..host, to = origin.username.."@"..origin.host, type = "unsubscribed"})); + send(origin, st.presence({from = node.."@"..host, to = origin.username.."@"..origin.host, type = "unsubscribed"})); end -- else ignore else |