summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index a530f2eca..7de334689 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -142,6 +142,10 @@ void ModeHandler::DisplayEmptyList(User*, Channel*)
{
}
+void ModeHandler::OnParameterMissing(User* user, User* dest, Channel* channel)
+{
+}
+
bool ModeHandler::CheckTimeStamp(time_t theirs, time_t ours, const std::string&, const std::string&, Channel*)
{
return (ours < theirs);
@@ -571,6 +575,7 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User *user,
else
{
/* No parameter, continue to the next mode */
+ modehandlers[handler_id]->OnParameterMissing(user, targetuser, targetchannel);
continue;
}