diff options
Diffstat (limited to 'src/modes')
-rw-r--r-- | src/modes/umode_o.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modes/umode_o.cpp b/src/modes/umode_o.cpp index 2ce1fe5c5..2105376ba 100644 --- a/src/modes/umode_o.cpp +++ b/src/modes/umode_o.cpp @@ -25,5 +25,7 @@ ModeAction ModeUserOperator::OnModeChange(userrec* source, userrec* dest, chanre * to your userrec! */ dest->modes[UM_OPERATOR] = 0; + /* Remove their opertype when they oper down */ + *dest->oper = 0; return MODEACTION_ALLOW; } |