mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-07 23:03:12 +02:00
Use match_user() for is banned checking. This also makes CIDR work in bans/exempt/invex.
Remove ban_realhost, ban_virthost, ban_cloakhost and ban_ip stuff. Should be just as fast if you use match_user() now.
This commit is contained in:
@@ -704,7 +704,6 @@ extern int match_esc(const char *mask, const char *name);
|
||||
extern struct hostent *unreal_create_hostent(char *name, struct IN_ADDR *addr);
|
||||
extern char *unreal_time_synch_error(void);
|
||||
extern int unreal_time_synch(int timeout);
|
||||
extern int extban_is_banned_helper(char *buf);
|
||||
extern char *getcloak(aClient *sptr);
|
||||
extern MODVAR unsigned char param_to_slot_mapping[256];
|
||||
extern char *cm_getparameter(aChannel *chptr, char mode);
|
||||
|
||||
Reference in New Issue
Block a user