Modified: freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c (16019 => 16020)
--- freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c 2009-12-22 16:58:06 UTC (rev 16019)
+++ freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c 2009-12-22 18:06:23 UTC (rev 16020)
@@ -723,7 +723,7 @@
cbt.buf = buf;
cbt.len = sizeof(buf);
- sql = switch_mprintf("select count(hostname) from limit_data where realm='%q' and id like '%q'", realm, id);
+ sql = switch_mprintf("select count(hostname) from limit_data where realm='%q' and id='%q'", realm, id);
limit_execute_sql_callback(NULL, sql, sql2str_callback, &cbt);
switch_safe_free(sql);
got = atoi(buf);