ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/channel.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/channel.c (file contents):
Revision 3135 by michael, Mon Mar 10 21:11:25 2014 UTC vs.
Revision 3140 by michael, Wed Mar 12 19:23:20 2014 UTC

# Line 169 | Line 169 | send_members(struct Client *client_p, st
169      if (ms->flags & CHFL_CHANOP)
170        tlen++;
171   #ifdef HALFOPS
172 <    else if (ms->flags & CHFL_HALFOP)
172 >    if (ms->flags & CHFL_HALFOP)
173        tlen++;
174   #endif
175      if (ms->flags & CHFL_VOICE)
# Line 185 | Line 185 | send_members(struct Client *client_p, st
185        t = start;
186      }
187  
188 <    if ((ms->flags & (CHFL_CHANOP | CHFL_HALFOP)))
189 <      *t++ = (!(ms->flags & CHFL_CHANOP) && IsCapable(client_p, CAP_HOPS)) ?
190 <        '%' : '@';
191 <    if ((ms->flags & CHFL_VOICE))
188 >    if (ms->flags & CHFL_CHANOP)
189 >      *t++ = '@';
190 >    if (ms->flags & CHFL_HALFOP)
191 >      *t++ = '%';
192 >    if (ms->flags & CHFL_VOICE)
193        *t++ = '+';
194  
195      strcpy(t, ID(ms->client_p));

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)