summaryrefslogtreecommitdiff
path: root/src/listmode.cpp
diff options
context:
space:
mode:
authorB00mX0r <b00mx0r@aureus.pw>2018-04-07 16:11:40 -0700
committerPeter Powell <petpow@saberuk.com>2018-04-08 19:09:56 +0100
commit1155320da0ba4454f028b30bc0fb5313e33946b3 (patch)
treedda738ebd8cbaff9c72fe8855375a78d51e6570a /src/listmode.cpp
parentc9cdf7255356761152f1e679a948f9bc55e07b00 (diff)
Fix an invalid mode parameters numeric upon attempting to view a list mode
Diffstat (limited to 'src/listmode.cpp')
-rw-r--r--src/listmode.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp
index 23f98bf3f..a8f6e5108 100644
--- a/src/listmode.cpp
+++ b/src/listmode.cpp
@@ -221,6 +221,10 @@ bool ListModeBase::ValidateParam(User*, Channel*, std::string&)
return true;
}
+void ListModeBase::OnParameterMissing(User*, User*, Channel*)
+{
+}
+
void ListModeBase::TellListTooLong(User* source, Channel* channel, std::string& parameter)
{
source->WriteNumeric(ERR_BANLISTFULL, channel->name, parameter, "Channel ban list is full");