/[svn]/branches/newio/modules/m_dline.c
ViewVC logotype

Diff of /branches/newio/modules/m_dline.c

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

revision 2805 by michael, Wed Oct 23 13:53:47 2013 UTC revision 2806 by michael, Sun Jan 12 17:18:48 2014 UTC
# Line 163  mo_dline(struct Client *client_p, struct Line 163  mo_dline(struct Client *client_p, struct
163    
164    if (target_server != NULL)    if (target_server != NULL)
165    {    {
166      if (HasID(source_p))      sendto_match_servs(source_p, target_server, CAP_DLN, "DLINE %s %Tu %s :%s",
167      {                         target_server, tkline_time, dlhost, reason);
       sendto_server(NULL, CAP_DLN|CAP_TS6, NOCAPS,  
                     ":%s DLINE %s %Tu %s :%s",  
                     source_p->id, target_server, tkline_time,  
                     dlhost, reason);  
       sendto_server(NULL, CAP_DLN, CAP_TS6,  
                     ":%s DLINE %s %Tu %s :%s",  
                     source_p->name, target_server, tkline_time,  
                     dlhost, reason);  
     }  
     else  
       sendto_server(NULL, CAP_DLN, NOCAPS,  
                     ":%s DLINE %s %Tu %s :%s",  
                     source_p->name, target_server, tkline_time,  
                     dlhost, reason);  
168    
169      /* Allow ON to apply local kline as well if it matches */      /* Allow ON to apply local kline as well if it matches */
170      if (match(target_server, me.name))      if (match(target_server, me.name))

Legend:
Removed from v.2805  
changed lines
  Added in v.2806

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