ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/core/m_tmode.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/modules/core/m_tmode.c (file contents):
Revision 3377 by michael, Thu Apr 24 16:15:51 2014 UTC vs.
Revision 3694 by michael, Thu May 29 19:37:00 2014 UTC

# Line 54 | Line 54 | static int
54   ms_tmode(struct Client *source_p, int parc, char *parv[])
55   {
56    struct Channel *chptr = NULL;
57  struct Membership *member = NULL;
57  
58    if ((chptr = hash_find_channel(parv[2])) == NULL)
59    {
# Line 69 | Line 68 | ms_tmode(struct Client *source_p, int pa
68      set_channel_mode(source_p, chptr, NULL, parc - 3, parv + 3);
69    else
70    {
71 <    member = find_channel_link(source_p, chptr);
73 <
74 <    /* XXX are we sure we just want to bail here? */
75 <    if (has_member_flags(member, CHFL_DEOPPED))
76 <      return 0;
71 >    struct Membership *member = find_channel_link(source_p, chptr);
72  
73      set_channel_mode(source_p, chptr, member, parc - 3, parv + 3);
74    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines