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:
+1
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user