]> jfr.im git - solanum.git/blobdiff - include/monitor.h
Keep propagated bans in a dictionary, not a list
[solanum.git] / include / monitor.h
index bff6ae922a345d86056a45caa57208c6a7c15f1c..0e70653ca15a4f2bba8077a1e4d09063545c53e4 100644 (file)
@@ -4,8 +4,6 @@
  *
  * Copyright (C) 2005 Lee Hardy <lee -at- leeh.co.uk>
  * Copyright (C) 2005 ircd-ratbox development team
- *
- * $Id: monitor.h 6 2005-09-10 01:02:21Z nenolod $
  */
 #ifndef INCLUDED_monitor_h
 #define INCLUDED_monitor_h
@@ -14,13 +12,12 @@ 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_SIZE (1<<MONITOR_HASH_BITS)