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