summaryrefslogtreecommitdiff
path: root/src/listmode.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-12-09 06:27:44 +0000
committerPeter Powell <petpow@saberuk.com>2018-12-09 06:29:48 +0000
commita5b9f37d62670a49e81c5a53f93bdf485aace4a6 (patch)
treed9c6d5577385e2d580ddff75631e66f6372cd098 /src/listmode.cpp
parent16864d18713b2ec9ed613d1fe7fedd198268fd5d (diff)
Use ERR_BANLISTFULL in the chanfilter and exemptchanops modules.
Diffstat (limited to 'src/listmode.cpp')
-rw-r--r--src/listmode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp
index d5dbec30e..78908a727 100644
--- a/src/listmode.cpp
+++ b/src/listmode.cpp
@@ -227,7 +227,7 @@ void ListModeBase::OnParameterMissing(User*, User*, Channel*)
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&)