]> jfr.im git - irc/quakenet/newserv.git/blobdiff - patriciasearch/patriciasearch.c
CHANSERV: better batcher error handling for expired accounts/accounts with no email.
[irc/quakenet/newserv.git] / patriciasearch / patriciasearch.c
index 928884c4aa151d0e9fd9574774ba7dfa600785f4..b695b5fb79354849396a740f4a4563ba73bfbf98 100644 (file)
 #include "../lib/stringbuf.h"
 #include "../lib/strlfunc.h"
 #include "patriciasearch.h"
+#include "../lib/version.h"
+#include "../newsearch/newsearch.h"
+
+MODULE_VERSION("")
 
 searchCmd *reg_nodesearch;
 
@@ -51,7 +55,7 @@ int do_pnodesearch_real(replyFunc reply, wallFunc wall, void *source, int cargc,
 
   if (cargc<1) { 
     reply( sender, "Usage: [flags] <criteria>");
-    reply( sender, "For help, see help nicksearch");
+    reply( sender, "For help, see help nodesearch");
     return CMD_OK;
   }
 
@@ -74,7 +78,7 @@ int do_pnodesearch_real(replyFunc reply, wallFunc wall, void *source, int cargc,
     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);