Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2004-05-16 03:15:54 UTC
Modified files:
ircd/s_conf.c
Log message:
Include part of Isomer's realname gline fixes that I left out of a
previous commit.
---------------------- diff included ----------------------
Index: ircu2.10/ircd/s_conf.c
diff -u ircu2.10/ircd/s_conf.c:1.52 ircu2.10/ircd/s_conf.c:1.53
--- ircu2.10/ircd/s_conf.c:1.52 Sat May 15 10:37:22 2004
+++ ircu2.10/ircd/s_conf.c Sat May 15 20:15:43 2004
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: s_conf.c,v 1.52 2004/05/15 17:37:22 entrope Exp $
+ * $Id: s_conf.c,v 1.53 2004/05/16 03:15:43 entrope Exp $
*/
#include "config.h"
@@ -1189,7 +1189,7 @@
break;
if (deny->flags & DENY_FLAGS_REALNAME) { /* K: by real name */
- if (0 == match(deny->hostmask, realname))
+ if (0 == match(deny->hostmask + 2, realname))
break;
} else if (deny->flags & DENY_FLAGS_IP) { /* k: by IP */
Debug((DEBUG_DEBUG, "ip: %08x network: %08x/%i mask: %08x",
----------------------- End of diff -----------------------