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

Comparing ircd-hybrid/branches/8.2.x/modules/m_kline.c (file contents):
Revision 9372 by michael, Wed Jan 1 09:58:57 2020 UTC vs.
Revision 9373 by michael, Sat May 9 20:54:26 2020 UTC

# Line 252 | Line 252 | ms_kline(struct Client *source_p, int pa
252      .duration = strtoumax(parv[2], NULL, 10)
253    };
254  
255  if (parc != 6 || EmptyString(parv[parc - 1]))
256    return;
257
255    sendto_match_servs(source_p, aline.server, CAPAB_KLN, "KLINE %s %ju %s %s :%s", aline.server,
256                       aline.duration, aline.user, aline.host, aline.reason);
257  
# Line 270 | Line 267 | ms_kline(struct Client *source_p, int pa
267   static struct Message kline_msgtab =
268   {
269    .cmd = "KLINE",
270 <  .args_min = 2,
271 <  .args_max = MAXPARA,
272 <  .handlers[UNREGISTERED_HANDLER] = m_unregistered,
273 <  .handlers[CLIENT_HANDLER] = m_not_oper,
274 <  .handlers[SERVER_HANDLER] = ms_kline,
278 <  .handlers[ENCAP_HANDLER] = m_ignore,
279 <  .handlers[OPER_HANDLER] = mo_kline
270 >  .handlers[UNREGISTERED_HANDLER] = { .handler = m_unregistered },
271 >  .handlers[CLIENT_HANDLER] = { .handler = m_not_oper },
272 >  .handlers[SERVER_HANDLER] = { .handler = ms_kline, .args_min = 6 },
273 >  .handlers[ENCAP_HANDLER] = { .handler = m_ignore },
274 >  .handlers[OPER_HANDLER] = { .handler = mo_kline, .args_min = 2 }
275   };
276  
277   static void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines