diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-26 11:17:30 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-26 11:17:30 +0000 |
commit | 0bf02e8a09a25b830dc351741093896955a7cae5 (patch) | |
tree | a408291763cbae4587587dff67f9acf563e637f3 | |
parent | 24dfb05a8681591aaeaf852214c6c268bb40ed3e (diff) |
Fix handling of multiple @%+ core permissions modes on join when more than one are given
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5334 e03df62e-2008-0410-955e-edbf42e46eb7
-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); |