]> jfr.im git - irc/quakenet/newserv.git/blobdiff - newsearch/ns-timestamp.c
TRUSTS: require sqlite
[irc/quakenet/newserv.git] / newsearch / ns-timestamp.c
index 318942665c6b36a6fa110cf8eae3526a11967de0..433c26a0567f2be1676d9940333b5e5aba54e0e0 100644 (file)
@@ -33,7 +33,7 @@ void *timestamp_exe(searchCtx *ctx, struct searchNode *thenode, void *theinput)
   nick *np = (nick *)theinput;
   chanindex *cip = (chanindex *)theinput;
 
-  if (ctx->searchcmd == reg_nicksearch) {  
+  if (ctx->searchcmd == reg_nicksearch || ctx->searchcmd == reg_whowassearch) {
     return (void *)np->timestamp;
   } else {
     if (cip->channel)