mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 22:03:13 +02:00
Make extban ~n (nickchange) not apply to voiced users, like in 3.2.x. This was an unintentional change.
This commit is contained in:
@@ -71,6 +71,9 @@ int extban_nickchange_is_banned(aClient *sptr, aChannel *chptr, char *banin, int
|
||||
if (type != BANCHK_NICK)
|
||||
return 0;
|
||||
|
||||
if (has_voice(sptr, chptr))
|
||||
return 0;
|
||||
|
||||
sub_ban = banin + 3;
|
||||
|
||||
return ban_check_mask(sptr, chptr, sub_ban, type, 0);
|
||||
|
||||
Reference in New Issue
Block a user