summaryrefslogtreecommitdiff
path: root/src/modes/cmode_s.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/cmode_s.cpp')
-rw-r--r--src/modes/cmode_s.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/cmode_s.cpp b/src/modes/cmode_s.cpp
index e24ace76f..ab1365536 100644
--- a/src/modes/cmode_s.cpp
+++ b/src/modes/cmode_s.cpp
@@ -21,7 +21,7 @@ ModeChannelSecret::ModeChannelSecret(InspIRCd* Instance) : ModeHandler(Instance,
{
}
-ModeAction ModeChannelSecret::OnModeChange(User*, User*, Channel* channel, std::string&, bool adding)
+ModeAction ModeChannelSecret::OnModeChange(User*, User*, Channel* channel, std::string&, bool adding, bool servermode)
{
if (channel->modes[CM_SECRET] != adding)
{