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