[IRCServices Coding] G:Lines..

Russ Garrett rg at tcslon.com
Sun Jun 30 01:54:22 PDT 2002


> I've connected a second IRCServices server to our network, this
> is where we
> develope modules, yet whenever we add an akill, we find this new server
> removes the G:Lines.. is there a way to stop this from happening?

There doesn't seem to be a way in the config or anything. You could use a
patch like this one I did for someone (for Unreal):

--- ./unreal.c.old      Sun Jun 21 10:49:06 2002
+++ ./unreal.c  Sun Jun 21 10:50:05 2002
@@ -459,12 +459,6 @@

 static void m_tkl(char *source, int ac, char **av)
 {
-    /* Clear out any TKL + [GZ] we get; if it's really valid, the
-     * AKILL/SLINE modules will re-add it for us. */
-    if (ac < 4 || *av[0] != '+' || (*av[1] != 'G' && *av[1] != 'Z'))
-       return;
-    send_cmd(ServerName, "TKL - %c %s %s %s",
-            *av[1], av[2], av[3], ServerName);
 }

 /*************************************************************************/



Russ Garrett
russ at garrett.co.uk