diff options
Diffstat (limited to 'src/modes/umode_o.cpp')
-rw-r--r-- | src/modes/umode_o.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modes/umode_o.cpp b/src/modes/umode_o.cpp index 30ed089f6..2415a940a 100644 --- a/src/modes/umode_o.cpp +++ b/src/modes/umode_o.cpp @@ -21,7 +21,7 @@ ModeUserOperator::ModeUserOperator(InspIRCd* Instance) : ModeHandler(Instance, ' { } -ModeAction ModeUserOperator::OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) +ModeAction ModeUserOperator::OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) { /* Only opers can execute this class at all */ if (!*source->oper) @@ -35,7 +35,7 @@ ModeAction ModeUserOperator::OnModeChange(userrec* source, userrec* dest, chanre * Note that oper status is only given in cmd_oper.cpp * NOT here. It is impossible to directly set +o without * verifying as an oper and getting an opertype assigned - * to your userrec! + * to your User! */ ServerInstance->SNO->WriteToSnoMask('o', "User %s de-opered (by %s)", dest->nick, source->nick); dest->UnOper(); |