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 1632 by michael, Sun Nov 4 15:37:10 2012 UTC vs.
Revision 1652 by michael, Tue Nov 13 20:28:53 2012 UTC

# Line 707 | Line 707 | static int
707   match_it(const struct Client *one, const char *mask, int what)
708   {
709    if (what == MATCH_HOST)
710 <    return match(mask, one->host);
710 >    return !match(mask, one->host);
711  
712 <  return match(mask, one->servptr->name);
712 >  return !match(mask, one->servptr->name);
713   }
714  
715   /* sendto_match_butone()
# Line 820 | Line 820 | sendto_match_servs(struct Client *source
820      if (target_p->from->localClient->serial == current_serial)
821        continue;
822  
823 <    if (match(mask, target_p->name))
823 >    if (!match(mask, target_p->name))
824      {
825        /*
826         * if we set the serial here, then we'll never do a

Diff Legend

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