ircds typically allow ignoring bans/quiets for voiced users and above,
so we shouldn't consider them in this case either.
{
chanuser_t *cu = n->data;
+ /* Assume that any prefix modes allow changing nicks even while banned */
+ if (cu->modes != 0)
+ continue;
+
if (next_matching_ban(cu->chan, u, ban_type, cu->chan->bans.head) != NULL)
{
if (ircd->except_mchar == '\0' || next_matching_ban(cu->chan, u, ircd->except_mchar, cu->chan->bans.head) == NULL)