+ if (channel->GetExtBanStatus(user, 'A') == -1)
+ {
+ // Matching extban, explicitly deny /invite
+ user->WriteNumeric(ERR_CHANOPRIVSNEEDED, "%s %s :You are banned from using INVITE", user->nick.c_str(), channel->name.c_str());
+ return 1;
+ }
+ if (channel->IsModeSet('A') || channel->GetExtBanStatus(user, 'A') == 1)