ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/newio/modules/m_dline.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/m_dline.c (file contents):
Revision 1649 by michael, Sat Nov 10 19:27:13 2012 UTC vs.
Revision 1652 by michael, Tue Nov 13 20:28:53 2012 UTC

# Line 183 | Line 183 | mo_dline(struct Client *client_p, struct
183                      dlhost, reason);
184  
185      /* Allow ON to apply local kline as well if it matches */
186 <    if (!match(target_server, me.name))
186 >    if (match(target_server, me.name))
187        return;
188    }
189    else
# Line 296 | Line 296 | ms_dline(struct Client *client_p, struct
296                       "DLINE %s %s %s :%s",
297                       parv[1], parv[2], parv[3], parv[4]);
298  
299 <  if (!match(parv[1], me.name))
299 >  if (match(parv[1], me.name))
300      return;
301  
302    tkline_time = valid_tkline(parv[2], TK_SECONDS);
# Line 430 | Line 430 | mo_undline(struct Client *client_p, stru
430                         "UNDLINE %s %s", target_server, addr);
431  
432      /* Allow ON to apply local unkline as well if it matches */
433 <    if (!match(target_server, me.name))
433 >    if (match(target_server, me.name))
434        return;
435    }
436    else
# Line 464 | Line 464 | me_undline(struct Client *client_p, stru
464  
465    addr = parv[2];
466  
467 <  if (!IsClient(source_p) || !match(parv[1], me.name))
467 >  if (!IsClient(source_p) || match(parv[1], me.name))
468      return;
469  
470    if (HasFlag(source_p, FLAGS_SERVICE) || find_matching_name_conf(CONF_ULINE,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines