s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction

Fri, 24 Dec 2010 04:48:18 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 24 Dec 2010 04:48:18 +0000
changeset 3951
b8d930c21a3a
parent 3950
27947d66b814
child 3952
f5d2400ca127

s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction

core/s2smanager.lua file | annotate | diff | comparison | revisions
--- a/core/s2smanager.lua	Fri Dec 24 04:47:18 2010 +0000
+++ b/core/s2smanager.lua	Fri Dec 24 04:48:18 2010 +0000
@@ -631,7 +631,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;

mercurial