util.roster: Initial skeleton commit
[prosody.git] / net / xmppclient_listener.lua
index a7da6d229c2419fdebf1cbce32374b4477777ded..7572697244e3abb0dd32e87385f196de0a467279 100644 (file)
@@ -66,7 +66,7 @@ local function handleerr(err) log("error", "Traceback[c2s]: %s: %s", tostring(er
 function stream_callbacks.handlestanza(session, stanza)
        stanza = session.filter("stanzas/in", stanza);
        if stanza then
-               xpcall(function () core_process_stanza(session, stanza) end, handleerr);
+               return xpcall(function () return core_process_stanza(session, stanza) end, handleerr);
        end
 end