#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) {
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;
}