Allow IRC ops to ignore any channel limit (bans, invite only etc.) when they
want to join a channel.
bool is_invited, is_banned;
const char *channel_modes;
bool is_invited, is_banned;
const char *channel_modes;
+ /* Allow IRC operators to overwrite channel limits */
+ if (strchr(Client_Modes(Client), 'o'))
+ return true;
+
is_banned = Lists_Check(Channel_GetListBans(chan), target);
is_invited = Lists_Check(Channel_GetListInvites(chan), target);
is_banned = Lists_Check(Channel_GetListBans(chan), target);
is_invited = Lists_Check(Channel_GetListInvites(chan), target);