diff options
Diffstat (limited to 'src/modes/cmode_o.cpp')
-rw-r--r-- | src/modes/cmode_o.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/cmode_o.cpp b/src/modes/cmode_o.cpp index c631ec779..bed7da615 100644 --- a/src/modes/cmode_o.cpp +++ b/src/modes/cmode_o.cpp @@ -28,7 +28,7 @@ ModePair ModeChannelOp::ModeSet(userrec* source, userrec* dest, chanrec* channel userrec* x = ServerInstance->FindNick(parameter); if (x) { - if (channel->GetStatus(x) == STATUS_OP) + if (channel->GetStatusFlags(x) & UCMODE_OP) { return std::make_pair(true, x->nick); } |