]> jfr.im git - irc/quakenet/newserv.git/blobdiff - newsearch/ns-ip.c
Merge.
[irc/quakenet/newserv.git] / newsearch / ns-ip.c
index 1b657c64430ef77a569ed8078b9878cf5b705392..16c4d90033390a21044f808d7d58fa9302c2519c 100644 (file)
@@ -13,11 +13,6 @@ void ip_free(searchCtx *ctx, struct searchNode *thenode);
 struct searchNode *ip_parse(searchCtx *ctx, int argc, char **argv) {
   struct searchNode *thenode;
 
-  if (ctx->type != SEARCHTYPE_NICK) {
-    parseError = "ip: 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;