[Freeswitch-svn] [commit] r13993 - freeswitch/trunk/src/mod/languages/mod_lua

FreeSWITCH SVN brian at freeswitch.org
Fri Jun 26 17:18:47 PDT 2009


Author: brian
Date: Fri Jun 26 19:18:47 2009
New Revision: 13993

Log:
 MODLANG-116 

Modified:
   freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp

Modified: freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp	(original)
+++ freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp	Fri Jun 26 19:18:47 2009
@@ -99,6 +99,9 @@
 {
 	bool r;
 
+	if (!session) {
+		return false;
+	}
 	sanity_check(false);
 	r = switch_channel_ready(channel) != 0;
 	do_hangup_hook();



More information about the Freeswitch-svn mailing list