]> jfr.im git - irc/quakenet/newserv.git/blobdiff - chanserv/newsearch/formats.c
HELPMOD2: don't ignore +h clients
[irc/quakenet/newserv.git] / chanserv / newsearch / formats.c
index c4a4cebce68bf68dec50509ee160f6a00e6fa3a6..5bdce11c4b644341835e01d2d61e42a2e12672e2 100644 (file)
@@ -92,6 +92,8 @@ void printnick_authchans(searchCtx *ctx, nick *sender, nick *np) {
 void printauth(searchCtx *ctx, nick *sender, authname *anp) {
   reguser *rup;
   char *la;
+  char timebuf[TIMELEN];
+
 /*  StringBuf b;
   char output[1024];
   nick *tnp;
@@ -120,7 +122,6 @@ void printauth(searchCtx *ctx, nick *sender, authname *anp) {
 */
 
   if (rup->lastauth) {
-    char timebuf[TIMELEN];
     q9strftime(timebuf, sizeof(timebuf), rup->lastauth);
     la = timebuf;
   } else {