]> jfr.im git - irc/quakenet/newserv.git/blobdiff - newsearch/ns-authname.c
CHANSERV: reduce reason to 15 chars
[irc/quakenet/newserv.git] / newsearch / ns-authname.c
index 1d4aaf01dc612a4d74201c3e579e6321e4bbb4c0..f1e299b383f48d77bc1f049bbd228cf938e2b49d 100644 (file)
@@ -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;