]> jfr.im git - irc/quakenet/newserv.git/blobdiff - patriciasearch/patriciasearch.c
HELPMOD2: don't ignore +h clients
[irc/quakenet/newserv.git] / patriciasearch / patriciasearch.c
index 5bccf563bd5ae5b0fe1cf4506affd59a5ac9f003..b695b5fb79354849396a740f4a4563ba73bfbf98 100644 (file)
@@ -74,15 +74,11 @@ int do_pnodesearch_real(replyFunc reply, wallFunc wall, void *source, int cargc,
 
   tree = parse_string(reg_nodesearch, cargv[arg]);
   if(!tree) {
-#ifdef NEWSEARCH_NEWPARSER
     displaystrerror(reply, sender, cargv[arg]);
-#else
-    reply(sender,"Something went wrong.");
-#endif
     return CMD_ERROR;
   }
 
-  ast_nodesearch(tree->root, reply, sender, wall, display, NULL, NULL, limit);
+  ast_nodesearch(tree->root, reply, sender, wall, display, NULL, NULL, limit, NULL);
 
   parse_free(tree);