Remote unkline problem

Jon Christopherson jon.christopherson at us.army.mil
Thu Oct 28 12:50:23 EDT 2004


Hello,

	I have corrected the stock m_unkline.c module by adding in the
simple propagation code. Not sure why this was not added by the hybrid team,
as it limits unkline functionality. Here is the patch:

--- ircd-hybrid/modules/m_unkline.c     Wed Jun 16 00:55:54 2004
+++ ircd-hybrid-unkline/modules/m_unkline.c       Thu Oct 28 11:52:14 2004
@@ -189,6 +189,11 @@
   if (parc != 4)
     return;
 
+  /* parv[0]  parv[1]        parv[2]  parv[3]  */
+  /* oper     target_server  user     host     */
+  sendto_server(client_p, source_p, NULL, CAP_KLN, NOCAPS, LL_ICLIENT,
+                ":%s UNKLINE %s %s %s",
+                parv[0], parv[1], parv[2], parv[3]);
 
   kuser = parv[2];
   khost = parv[3];


Regards,

Jon Christopherson







More information about the hybrid mailing list