]> jfr.im git - irc/quakenet/newserv.git/blobdiff - newsearch/ns-authts.c
LUA: port luadb to dbapi2 to drop postgres dependency
[irc/quakenet/newserv.git] / newsearch / ns-authts.c
index 7ef8e7044d2e0000c987022e0774a8f501f80e9a..5551d5aba069209af11a79000d025ba865f3e457 100644 (file)
@@ -13,11 +13,6 @@ void authts_free(searchCtx *ctx, struct searchNode *thenode);
 struct searchNode *authts_parse(searchCtx *ctx, int argc, char **argv) {
   struct searchNode *thenode;
 
-  if (ctx->type != SEARCHTYPE_NICK) {
-    parseError = "authts: 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;