1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 20:33:13 +02:00

Get rid of Usermode_Table[] and use a linked list called usermodes.

Just like already done for Channelmode_Table[] -> channelmodes.
This commit is contained in:
Bram Matthys
2021-09-26 12:45:45 +02:00
parent 05f2694685
commit ee8cc0e8e2
11 changed files with 273 additions and 276 deletions
+1 -2
View File
@@ -1191,8 +1191,7 @@ struct CommandOverride {
OverrideCmdFunc func;
};
extern MODVAR Umode *Usermode_Table;
extern MODVAR int Usermode_highest;
extern MODVAR Umode *usermodes;
extern MODVAR Cmode *channelmodes;
extern Umode *UmodeAdd(Module *module, char ch, int options, int unset_on_deoper, int (*allowed)(Client *client, int what), long *mode);