]> jfr.im git - irc/quakenet/newserv.git/blobdiff - chanserv/newsearch/csns-qusers.c
newsearch changes to support addition of trust_search/patriciasearch
[irc/quakenet/newserv.git] / chanserv / newsearch / csns-qusers.c
index ddf0566696b67f4ace85a020125b1519ccee50cb..92843d273bcf6d18bc96595a8a70633441a23896 100644 (file)
@@ -17,15 +17,10 @@ struct qusers_localdata {
   flag_t clearmodes;
 };
 
-struct searchNode *qusers_parse(searchCtx *ctx, int type, int argc, char **argv) {
+struct searchNode *qusers_parse(searchCtx *ctx, int argc, char **argv) {
   struct searchNode *thenode;
   struct qusers_localdata *localdata;
 
-  if (type != SEARCHTYPE_CHANNEL) {
-    parseError = "qusers: this function is only valid for channel searches.";
-    return NULL;
-  }
-
   if (!(thenode=(struct searchNode *)malloc(sizeof (struct searchNode)))) {
     parseError = "malloc: could not allocate memory for this search.";
     return NULL;