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

Comparing ircd-hybrid/branches/8.2.x/src/send.c (file contents):
Revision 7942 by michael, Wed Feb 22 19:39:33 2017 UTC vs.
Revision 7944 by michael, Wed Feb 22 19:46:11 2017 UTC

# Line 387 | Line 387 | sendto_channel_butone(struct Client *one
387  
388      assert(IsClient(target_p));
389  
390 <    if (IsDefunct(target_p->from) || HasUMode(target_p, UMODE_DEAF) ||
391 <        (one && target_p->from == one->from))
390 >    if (IsDefunct(target_p->from))
391 >      continue;
392 >
393 >    if (one && (target_p->from == one->from))
394        continue;
395  
396      if (type && (member->flags & type) == 0)
397        continue;
398  
399 +    if (HasUMode(target_p, UMODE_DEAF))
400 +      continue;
401 +
402      if (MyConnect(target_p))
403        send_message(target_p, local_buf);
404      else if (target_p->from->connection->serial != current_serial)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines