From: Mathieu Rene Date: Thu, 12 Feb 2009 21:53:17 +0000 (+0000) Subject: tweak X-Git-Tag: v1.0.3~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee9d2d49824bebbd2385c96c97e513f0c3fc26a9;p=thirdparty%2Ffreeswitch.git tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11966 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_limit/mod_limit.c b/src/mod/applications/mod_limit/mod_limit.c index 837c622aae..2d221790d4 100644 --- a/src/mod/applications/mod_limit/mod_limit.c +++ b/src/mod/applications/mod_limit/mod_limit.c @@ -764,7 +764,7 @@ SWITCH_STANDARD_APP(limit_function) 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; }