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

Comparing ircd-hybrid/trunk/src/send.c (file contents):
Revision 3947 by michael, Mon Jun 16 18:08:55 2014 UTC vs.
Revision 4170 by michael, Sat Jul 5 15:32:59 2014 UTC

# Line 542 | Line 542 | sendto_common_channels_local(struct Clie
542    {
543      chptr = ((struct Membership *)cptr->data)->chptr;
544  
545 <    DLINK_FOREACH(uptr, chptr->members.head)
545 >    DLINK_FOREACH(uptr, chptr->locmembers.head)
546      {
547        ms = uptr->data;
548        target_p = ms->client_p;
549  
550 <      if (!MyConnect(target_p) || target_p == user || IsDefunct(target_p) ||
550 >      if (target_p == user || IsDefunct(target_p) ||
551            target_p->localClient->serial == current_serial)
552          continue;
553  
# Line 591 | Line 591 | sendto_channel_local(unsigned int type,
591    send_format(buffer, pattern, args);
592    va_end(args);
593  
594 <  DLINK_FOREACH(ptr, chptr->members.head)
594 >  DLINK_FOREACH(ptr, chptr->locmembers.head)
595    {
596      struct Membership *ms = ptr->data;
597      struct Client *target_p = ms->client_p;
# Line 599 | Line 599 | sendto_channel_local(unsigned int type,
599      if (type && (ms->flags & type) == 0)
600        continue;
601  
602 <    if (!MyConnect(target_p) || IsDefunct(target_p) ||
602 >    if (IsDefunct(target_p) ||
603          (nodeaf && HasUMode(target_p, UMODE_DEAF)))
604        continue;
605  
# Line 635 | Line 635 | sendto_channel_local_butone(struct Clien
635    send_format(buffer, pattern, args);
636    va_end(args);
637  
638 <  DLINK_FOREACH(ptr, chptr->members.head)
638 >  DLINK_FOREACH(ptr, chptr->locmembers.head)
639    {
640      struct Membership *ms = ptr->data;
641      struct Client *target_p = ms->client_p;
# Line 643 | Line 643 | sendto_channel_local_butone(struct Clien
643      if (type && (ms->flags & type) == 0)
644        continue;
645  
646 <    if (!MyConnect(target_p) || (one && target_p == one->from))
646 >    if (one && target_p == one->from)
647        continue;
648  
649      if (IsDefunct(target_p) || HasUMode(target_p, UMODE_DEAF))

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)