aboutsummaryrefslogtreecommitdiff
path: root/src/listmode.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-04-16 09:17:27 +0100
committerGravatar Sadie Powell2022-04-16 09:17:27 +0100
commit0cf1eb4b046ca0224ec1e0dce9831b0557aff651 (patch)
tree7361ebce450278cb2f77910f24ff309eab2e032e /src/listmode.cpp
parentRemove FPART, force REMOVE to always use the new syntax. (diff)
Make the parameter field of ValidateParam const.
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 9e1b45f4a..48fe52b80 100644
--- a/src/listmode.cpp
+++ b/src/listmode.cpp
@@ -230,7 +230,7 @@ ModeAction ListModeBase::OnModeChange(User* source, User*, Channel* channel, Mod
}
}
-bool ListModeBase::ValidateParam(User*, Channel*, std::string&)
+bool ListModeBase::ValidateParam(User* user, Channel* channel, const std::string& parameter)
{
return true;
}