]> jfr.im git - irc/quakenet/newserv.git/blobdiff - newsearch/ns-authid.c
LUA: add function for channel chanop notice
[irc/quakenet/newserv.git] / newsearch / ns-authid.c
index 98a0973cbf0c489eb670d720003b8e3efda305d3..184a4a954b611a26c1b2c697a2f81a57a7ece116 100644 (file)
@@ -13,11 +13,6 @@ void authid_free(searchCtx *ctx, struct searchNode *thenode);
 struct searchNode *authid_parse(searchCtx *ctx, int argc, char **argv) {
   struct searchNode *thenode;
 
-  if (ctx->type != SEARCHTYPE_NICK) {
-    parseError = "authid: 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;