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