diff options
-rw-r--r-- | src/channels.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 3e4f995ae..73c5746a7 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -400,13 +400,13 @@ chanrec* chanrec::ForceChan(InspIRCd* Instance, chanrec* Ptr,ucrec *a,userrec* u switch (status) { case '@': - a->uc_modes = UCMODE_OP; + a->uc_modes |= UCMODE_OP; break; case '%': - a->uc_modes = UCMODE_HOP; + a->uc_modes |= UCMODE_HOP; break; case '+': - a->uc_modes = UCMODE_VOICE; + a->uc_modes |= UCMODE_VOICE; break; } ModeHandler* mh = Instance->Modes->FindPrefix(status); |