--- a/core/sessionmanager.lua Fri Oct 24 14:46:22 2008 +0100 +++ b/core/sessionmanager.lua Fri Oct 24 14:47:23 2008 +0100 @@ -34,7 +34,7 @@ end function destroy_session(session) - session.log("info", "Destroying session"); + (session.log or log)("info", "Destroying session"); if session.host and session.username then if session.resource then hosts[session.host].sessions[session.username].sessions[session.resource] = nil;