X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/f33f3f52f58acdd2b9b6796713ac8f24d9881545..211567363bd8bfbd70cef81e4208ea02d49ebb55:/newsearch/ns-authname.c diff --git a/newsearch/ns-authname.c b/newsearch/ns-authname.c index 1d4aaf01..f1e299b3 100644 --- a/newsearch/ns-authname.c +++ b/newsearch/ns-authname.c @@ -13,11 +13,6 @@ void authname_free(searchCtx *ctx, struct searchNode *thenode); struct searchNode *authname_parse(searchCtx *ctx, int argc, char **argv) { struct searchNode *thenode; - if (ctx->type != SEARCHTYPE_NICK) { - parseError = "authname: 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;