/[svn]/ircd-hybrid/src/client.c
ViewVC logotype

Diff of /ircd-hybrid/src/client.c

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

revision 384 by adx, Sun Jan 8 20:48:35 2006 UTC revision 385 by michael, Tue Jan 31 12:24:23 2006 UTC
# Line 1357  find_accept(const char *nick, const char Line 1357  find_accept(const char *nick, const char
1357    
1358  /* accept_message()  /* accept_message()
1359   *   *
1360   * inputs       - pointer to nick   * inputs       - pointer to source client
  *              - pointer to username  
  *              - pointer to hostname  
  *              - pointer to source client  
1361   *              - pointer to target client   *              - pointer to target client
1362   * output       - 1 if accept this message 0 if not   * output       - 1 if accept this message 0 if not
1363   * side effects - See if source is on target's allow list   * side effects - See if source is on target's allow list
# Line 1377  accept_message(struct Client *source, Line 1374  accept_message(struct Client *source,
1374    
1375    if (IsSoftCallerId(target))    if (IsSoftCallerId(target))
1376      DLINK_FOREACH(ptr, target->channel.head)      DLINK_FOREACH(ptr, target->channel.head)
1377        if (IsMember(source, ptr->data))        if (IsMember(source, ((struct Membership *)ptr->data)->chptr))
1378          return 1;          return 1;
1379    
1380    return 0;    return 0;

Legend:
Removed from v.384  
changed lines
  Added in v.385

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