[Freeswitch-svn] [commit] r11966 - freeswitch/trunk/src/mod/applications/mod_limit

FreeSWITCH SVN mrene at freeswitch.org
Thu Feb 12 13:53:17 PST 2009


Author: mrene
Date: Thu Feb 12 15:53:17 2009
New Revision: 11966

Log:
tweak

Modified:
   freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c

Modified: freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c	Thu Feb 12 15:53:17 2009
@@ -764,7 +764,7 @@
 	switch_safe_free(sql);
 	got = atoi(buf);
 
-	if (max > 0 && got + 1 > max) {
+	if (max >= 0 && got + 1 > max) {
 		switch_ivr_session_transfer(session, xfer_exten, argv[4], argv[5]);
 		goto done;
 	}



More information about the Freeswitch-svn mailing list