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

Comparing ircd-hybrid-7.2/src/channel.c (file contents):
Revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC vs.
Revision 1011 by michael, Fri Sep 18 10:14:09 2009 UTC

# Line 25 | Line 25
25   */
26  
27   #include "stdinc.h"
28 < #include "tools.h"
28 > #include "list.h"
29   #include "channel.h"
30   #include "channel_mode.h"
31   #include "client.h"
# Line 35 | Line 35
35   #include "irc_string.h"
36   #include "sprintf_irc.h"
37   #include "ircd.h"
38 #include "list.h"
38   #include "numeric.h"
39   #include "s_serv.h"             /* captab */
40   #include "s_user.h"
# Line 141 | Line 140 | remove_user_from_channel(struct Membersh
140  
141    BlockHeapFree(member_heap, member);
142  
143 <  if (dlink_list_length(&chptr->members) == 0)
143 >  if (chptr->members.head == NULL)
144      destroy_channel(chptr);
145   }
146  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines