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

Comparing ircd-hybrid-7.2/src/channel.c (file contents):
Revision 1011 by michael, Fri Sep 18 10:14:09 2009 UTC vs.
Revision 1013 by michael, Sun Oct 18 14:26:49 2009 UTC

# Line 421 | Line 421 | destroy_channel(struct Channel *chptr)
421   * \return string pointer "=" if public, "@" if secret else "*"
422   */
423   static const char *
424 < channel_pub_or_secret(struct Channel *chptr)
424 > channel_pub_or_secret(const struct Channel *chptr)
425   {
426    if (SecretChannel(chptr))
427      return "@";
# Line 639 | Line 639 | find_bmask(const struct Client *who, con
639   * \return 0 if not banned, 1 otherwise
640   */
641   int
642 < is_banned(struct Channel *chptr, struct Client *who)
642 > is_banned(const struct Channel *chptr, const struct Client *who)
643   {
644    if (find_bmask(who, &chptr->banlist))
645      if (!ConfigChannel.use_except || !find_bmask(who, &chptr->exceptlist))
# Line 694 | Line 694 | find_channel_link(struct Client *client_
694  
695    DLINK_FOREACH(ptr, client_p->channel.head)
696      if (((struct Membership *)ptr->data)->chptr == chptr)
697 <      return (struct Membership *)ptr->data;
697 >      return ptr->data;
698  
699    return NULL;
700   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines