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 3941 by michael, Tue Jun 10 19:29:19 2014 UTC vs.
Revision 3944 by michael, Mon Jun 16 18:04:03 2014 UTC

# Line 44 | Line 44
44   #include "resv.h"
45  
46  
47 < dlink_list global_channel_list;
47 > dlink_list channel_list;
48   mp_pool_t *ban_pool;    /*! \todo ban_pool shouldn't be a global var */
49  
50   static mp_pool_t *member_pool, *channel_pool;
# Line 351 | Line 351 | make_channel(const char *chname)
351    chptr->last_join_time = CurrentTime;
352  
353    strlcpy(chptr->chname, chname, sizeof(chptr->chname));
354 <  dlinkAdd(chptr, &chptr->node, &global_channel_list);
354 >  dlinkAdd(chptr, &chptr->node, &channel_list);
355  
356    hash_add_channel(chptr);
357  
# Line 374 | Line 374 | destroy_channel(struct Channel *chptr)
374    free_channel_list(&chptr->exceptlist);
375    free_channel_list(&chptr->invexlist);
376  
377 <  dlinkDelete(&chptr->node, &global_channel_list);
377 >  dlinkDelete(&chptr->node, &channel_list);
378    hash_del_channel(chptr);
379  
380    mp_pool_release(chptr);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines