summaryrefslogtreecommitdiff
path: root/src/modes/umode_s.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/umode_s.cpp')
-rw-r--r--src/modes/umode_s.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/umode_s.cpp b/src/modes/umode_s.cpp
index 94068065f..4e5fba8e0 100644
--- a/src/modes/umode_s.cpp
+++ b/src/modes/umode_s.cpp
@@ -21,7 +21,7 @@ ModeUserServerNotice::ModeUserServerNotice(InspIRCd* Instance) : ModeHandler(Ins
{
}
-ModeAction ModeUserServerNotice::OnModeChange(User* source, User* dest, Channel*, std::string&, bool adding)
+ModeAction ModeUserServerNotice::OnModeChange(User* source, User* dest, Channel*, std::string&, bool adding, bool servermode)
{
/* Only opers can change other users modes */
if ((source != dest) && (!*source->oper))