#include "../lib/stringbuf.h"
#include "../lib/strlfunc.h"
#include "patriciasearch.h"
+#include "../lib/version.h"
+#include "../newsearch/newsearch.h"
+
+MODULE_VERSION("")
searchCmd *reg_nodesearch;
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;
}
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;
}