#define __WHOWAS_H
#define WW_MAXAGE 3600
-#define WW_MAXENTRIES 250000
+#define WW_MAXCHANNELS 20
+#define WW_MAXENTRIES 100000
#define WW_MASKLEN (HOSTLEN + USERLEN + NICKLEN)
#define WW_REASONLEN 512
int type;
time_t timestamp;
nick nick; /* unlinked nick */
+ chanindex *channels[WW_MAXCHANNELS];
/* WHOWAS_QUIT or WHOWAS_KILL */
sstring *reason;
void whowas_freenick(nick *np);
whowas *whowas_chase(const char *target, int maxage);
const char *whowas_format(whowas *ww);
+const char *whowas_formatchannels(whowas *ww);
void whowas_clean(whowas *ww);
void whowas_free(whowas *ww);