/[svn]/ircd-hybrid/trunk/modules/m_kline.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/modules/m_kline.c

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

revision 1651 by michael, Sat Nov 10 19:27:13 2012 UTC revision 1652 by michael, Tue Nov 13 20:28:53 2012 UTC
# Line 105  mo_kline(struct Client *client_p, struct Line 105  mo_kline(struct Client *client_p, struct
105                      user, host, reason);                      user, host, reason);
106    
107      /* Allow ON to apply local kline as well if it matches */      /* Allow ON to apply local kline as well if it matches */
108      if (!match(target_server, me.name))      if (match(target_server, me.name))
109        return;        return;
110    }    }
111    else    else
# Line 146  me_kline(struct Client *client_p, struct Line 146  me_kline(struct Client *client_p, struct
146    if (parc != 6 || EmptyString(parv[5]))    if (parc != 6 || EmptyString(parv[5]))
147      return;      return;
148    
149    if (!match(parv[1], me.name))    if (match(parv[1], me.name))
150      return;      return;
151    
152    tkline_time = valid_tkline(parv[2], TK_SECONDS);    tkline_time = valid_tkline(parv[2], TK_SECONDS);
# Line 332  mo_unkline(struct Client *client_p,struc Line 332  mo_unkline(struct Client *client_p,struc
332                          target_server, user, host);                          target_server, user, host);
333    
334      /* Allow ON to apply local unkline as well if it matches */      /* Allow ON to apply local unkline as well if it matches */
335      if (!match(target_server, me.name))      if (match(target_server, me.name))
336        return;        return;
337    }    }
338    else    else
# Line 377  me_unkline(struct Client *client_p, stru Line 377  me_unkline(struct Client *client_p, stru
377    kuser = parv[2];    kuser = parv[2];
378    khost = parv[3];    khost = parv[3];
379    
380    if (!IsClient(source_p) || !match(parv[1], me.name))    if (!IsClient(source_p) || match(parv[1], me.name))
381      return;      return;
382    
383    if (HasFlag(source_p, FLAGS_SERVICE) || find_matching_name_conf(CONF_ULINE,    if (HasFlag(source_p, FLAGS_SERVICE) || find_matching_name_conf(CONF_ULINE,

Legend:
Removed from v.1651  
changed lines
  Added in v.1652

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