X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/398b6a7372f0a0d63e34d626551704a0eb68f1ff..9a5958119ce4f57b00cbabe0629084c6823a2c6a:/include/monitor.h diff --git a/include/monitor.h b/include/monitor.h index be8db98d..0e711b40 100644 --- a/include/monitor.h +++ b/include/monitor.h @@ -1,4 +1,4 @@ -/* +/* * ircd-ratbox: an advanced Internet Relay Chat Daemon(ircd). * monitor.h: Code for server-side notify lists. * @@ -14,14 +14,13 @@ struct rb_bh; struct monitor { - struct monitor *hnext; char name[NICKLEN]; rb_dlink_list users; + rb_dlink_node node; + unsigned int hashv; }; -extern struct monitor *monitorTable[]; - -#define MONITOR_HASH_BITS 16 +#define MONITOR_HASH_BITS 16 #define MONITOR_HASH_SIZE (1<