]> jfr.im git - irc/quakenet/newserv.git/blobdiff - newsearch/ns-timestamp.c
Newsearch overhauled.
[irc/quakenet/newserv.git] / newsearch / ns-timestamp.c
index d67f267abda4fb31b8ecc36259c9b9a87b1135b6..0598eb2c695e889e4b06dc2e0d09410056e82008 100644 (file)
@@ -10,8 +10,7 @@
 #include "../irc/irc_config.h"
 #include "../lib/irc_string.h"
 
-void *timestamp_exe(struct searchNode *thenode, int type, void *theinput);
-void *timestamp_exe_real(struct searchNode *thenode, int type, void *theinput);
+void *timestamp_exe(struct searchNode *thenode, void *theinput);
 void timestamp_free(struct searchNode *thenode);
 
 struct searchNode *timestamp_parse(int type, int argc, char **argv) {
@@ -35,12 +34,9 @@ struct searchNode *timestamp_parse(int type, int argc, char **argv) {
   return thenode;
 }
 
-void *timestamp_exe(struct searchNode *thenode, int type, void *theinput) {
+void *timestamp_exe(struct searchNode *thenode, void *theinput) {
   nick *np = (nick *)theinput;
 
-  if (type != RETURNTYPE_INT)
-    return (void *)1;
-
   return (void *)np->timestamp;
 }