]> jfr.im git - irc/quakenet/newserv.git/blobdiff - newsearch/ns-ident.c
CHANSERV: fix issue where chanserv_relay doesn't wait for db to be loaded before...
[irc/quakenet/newserv.git] / newsearch / ns-ident.c
index 14c4fa2a52a0d89fa56458182e08cfd1b8e3e8ec..825988cda2641f0bd309580d54b4db40f3bb26c4 100644 (file)
@@ -13,11 +13,6 @@ void ident_free(searchCtx *ctx, struct searchNode *thenode);
 struct searchNode *ident_parse(searchCtx *ctx, int argc, char **argv) {
   struct searchNode *thenode;
 
-  if (ctx->type != SEARCHTYPE_NICK) {
-    parseError = "ident: this function is only valid for nick searches.";
-    return NULL;
-  }
-
   if (!(thenode=(struct searchNode *)malloc(sizeof (struct searchNode)))) {
     parseError = "malloc: could not allocate memory for this search.";
     return NULL;