Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv18011/src
Modified Files:
nickserv.c
Log Message:
Make NickServ's search respect the limit argument.
Index: nickserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/nickserv.c,v
retrieving revision 1.210
retrieving revision 1.211
diff -C2 -r1.210 -r1.211
*** nickserv.c 21 Oct 2002 02:31:08 -0000 1.210
--- nickserv.c 21 Oct 2002 02:37:22 -0000 1.211
***************
*** 2666,2669 ****
--- 2666,2672 ----
dsf(source, iter_data(it));
matched++;
+ if(matched >= discrim->limit) {
+ return matched;
+ }
}
}
|