void ListModeBase::TellListTooLong(User* source, Channel* channel, std::string& parameter)
{
- source->WriteNumeric(ERR_BANLISTFULL, channel->name, parameter, mode, "Channel ban list is full");
+ source->WriteNumeric(ERR_BANLISTFULL, channel->name, parameter, mode, InspIRCd::Format("Channel %s list is full", name.c_str()));
}
void ListModeBase::TellAlreadyOnList(User*, Channel*, std::string&)
{
// InspIRCd-specific.
ERR_ALREADYCHANFILTERED = 937,
- ERR_NOSUCHCHANFILTER = 938,
- ERR_CHANFILTERFULL = 939
+ ERR_NOSUCHCHANFILTER = 938
};
/** Handles channel mode +g
return true;
}
- void TellListTooLong(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE
- {
- user->WriteNumeric(ERR_CHANFILTERFULL, chan->name, word, "Channel spamfilter list is full");
- }
-
void TellAlreadyOnList(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE
{
user->WriteNumeric(ERR_ALREADYCHANFILTERED, chan->name, InspIRCd::Format("The word %s is already on the spamfilter list", word.c_str()));
return true;
}
- void TellListTooLong(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE
- {
- user->WriteNumeric(959, chan->name, word, "Channel exemptchanops list is full");
- }
-
void TellAlreadyOnList(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE
{
user->WriteNumeric(957, chan->name, InspIRCd::Format("The word %s is already on the exemptchanops list", word.c_str()));