s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction
authorMatthew Wild <mwild1@gmail.com>
Fri, 24 Dec 2010 04:48:18 +0000
changeset 4019 80aa47c009f0
parent 4018 5061c8d41d89
child 4020 472691075967
s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction
core/s2smanager.lua
--- a/core/s2smanager.lua	Fri Dec 24 04:47:18 2010 +0000
+++ b/core/s2smanager.lua	Fri Dec 24 04:48:18 2010 +0000
@@ -594,7 +594,8 @@
 		end
 	end
 	
-	retire_session(session); -- Clean session until it is GC'd
+	retire_session(session, reason); -- Clean session until it is GC'd
+	return true;
 end
 
 return _M;