# HG changeset patch # User Matthew Wild # Date 1224857933 -3600 # Node ID d71454f97fafc479607e247e85ce20e266ead87e # Parent 7ea96f94468112cc1ca0b85e8b053bd41c8186ef Fix nil concat when non-existant user is probed (another) diff -r 7ea96f944681 -r d71454f97faf core/stanza_router.lua --- 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