X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/0495c1d19a1a740857029cfad02c0cf279c88718..28aa186de14dc4fa7488866e70beb6ae933dde79:/whowas/whowas.h diff --git a/whowas/whowas.h b/whowas/whowas.h index 2a6b0e55..b24aff30 100644 --- a/whowas/whowas.h +++ b/whowas/whowas.h @@ -2,7 +2,7 @@ #define __WHOWAS_H #define WW_MAXAGE 3600 -#define WW_MAXENTRIES 100000 +#define WW_MAXENTRIES 250000 #define WW_MASKLEN (HOSTLEN + USERLEN + NICKLEN) #define WW_REASONLEN 512 @@ -27,9 +27,10 @@ extern whowas whowasrecs[WW_MAXENTRIES]; extern int whowasoffset; /* points to oldest record */ #define WHOWAS_UNUSED 0 -#define WHOWAS_QUIT 1 -#define WHOWAS_KILL 2 -#define WHOWAS_RENAME 3 +#define WHOWAS_USED 1 +#define WHOWAS_QUIT 2 +#define WHOWAS_KILL 3 +#define WHOWAS_RENAME 4 whowas *whowas_fromnick(nick *np, int standalone); nick *whowas_tonick(whowas *ww);