From d45f82770ffe798ed725084095c5dd66aa164248 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 24 Oct 2008 15:18:53 +0100 Subject: Fix nil concat when non-existant user is probed (another) --- core/stanza_router.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3