1
0
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:
Bram Matthys
2015-07-28 13:39:56 +02:00
parent 58b864edd5
commit 709c7e890e
2 changed files with 3 additions and 92 deletions
-1
View File
@@ -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);