/[svn]/ircd-hybrid/branches/8.2.x/src/channel.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/src/channel.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8599 by michael, Sun Oct 21 10:52:11 2018 UTC revision 8600 by michael, Sun Oct 28 18:12:12 2018 UTC
# Line 108  add_user_to_channel(struct Channel *chpt Line 108  add_user_to_channel(struct Channel *chpt
108    dlinkAdd(member, &member->channode, &chptr->members);    dlinkAdd(member, &member->channode, &chptr->members);
109    
110    if (MyConnect(client_p))    if (MyConnect(client_p))
111      dlinkAdd(member, &member->locchannode, &chptr->locmembers);      dlinkAdd(member, &member->locchannode, &chptr->members_local);
112    
113    dlinkAdd(member, &member->usernode, &client_p->channel);    dlinkAdd(member, &member->usernode, &client_p->channel);
114  }  }
# Line 126  remove_user_from_channel(struct Membersh Line 126  remove_user_from_channel(struct Membersh
126    dlinkDelete(&member->channode, &chptr->members);    dlinkDelete(&member->channode, &chptr->members);
127    
128    if (MyConnect(client_p))    if (MyConnect(client_p))
129      dlinkDelete(&member->locchannode, &chptr->locmembers);      dlinkDelete(&member->locchannode, &chptr->members_local);
130    
131    dlinkDelete(&member->usernode, &client_p->channel);    dlinkDelete(&member->usernode, &client_p->channel);
132    
# Line 368  channel_free(struct Channel *chptr) Line 368  channel_free(struct Channel *chptr)
368    assert(chptr->node.prev == NULL);    assert(chptr->node.prev == NULL);
369    assert(chptr->node.next == NULL);    assert(chptr->node.next == NULL);
370    
371    assert(dlink_list_length(&chptr->locmembers) == 0);    assert(dlink_list_length(&chptr->members_local) == 0);
372    assert(chptr->locmembers.head == NULL);    assert(chptr->members_local.head == NULL);
373    assert(chptr->locmembers.tail == NULL);    assert(chptr->members_local.tail == NULL);
374    
375    assert(dlink_list_length(&chptr->members) == 0);    assert(dlink_list_length(&chptr->members) == 0);
376    assert(chptr->members.head == NULL);    assert(chptr->members.head == NULL);

Legend:
Removed from v.8599  
changed lines
  Added in v.8600

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28