]> jfr.im git - irc/quakenet/newserv.git/blobdiff - newsearch/ns-reason.c
CHANSERV: better batcher error handling for expired accounts/accounts with no email.
[irc/quakenet/newserv.git] / newsearch / ns-reason.c
index 82ca1303cae1d7a1f147943a1467a4748f5548c4..c0d6317b076687f0d218114a61d4408d2ea7a688 100644 (file)
@@ -31,7 +31,7 @@ void *reason_exe(searchCtx *ctx, struct searchNode *thenode, void *theinput) {
   whowas *ww = (whowas *)np->next;
 
   if (!ww->reason)
-    return (void *)0;
+    return (void *)"";
 
   return (void *)ww->reason->content;
 }