1
0
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:
Bram Matthys
2015-12-13 08:22:58 +01:00
parent 377ce40ef8
commit dd50463126
+3
View File
@@ -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);