[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tkline users



Hello,

If you have TKLINEs enabled and you don't trust your opers to remember
the syntax, here's a patch for an ircd bug that allows opers to crash ircd
at will.

Sorry about that.

p.

Index: s_conf.c
===================================================================
RCS file: /usr/local/repository/irc/ircd/s_conf.c,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -0 -r1.192 -r1.193
--- s_conf.c    13 Nov 2009 20:25:55 -0000      1.192
+++ s_conf.c    11 Dec 2009 00:35:57 -0000      1.193
@@ -51 +51 @@
-static const volatile char rcsid[] = "@(#)$Id: s_conf.c,v 1.192 2009/11/13 20:25:55 chopin Exp $";
+static const volatile char rcsid[] = "@(#)$Id: s_conf.c,v 1.193 2009/12/11 00:35:57 chopin Exp $";
@@ -2703 +2703 @@
-       if (strchr(host, '/') && match_ipmask(host, sptr, 0) == -1)
+       if (host && strchr(host, '/') && match_ipmask(host, sptr, 0) == -1)