From 89bfeb8fb141d9889c29d50cde9e398d4c457cc6 Mon Sep 17 00:00:00 2001 From: Elizabeth Jennifer Myers Date: Mon, 25 Jul 2011 23:38:56 -0400 Subject: [PATCH] Remove #define KEY from ip_cloaking modules. I meant to do this 3 years ago when I rewrote the cloaking modules. I never got around to it. Now I am. :p Also add some basic comment headers whilst I'm here. --- extensions/ip_cloaking.c | 10 ++++++---- extensions/ip_cloaking_4.0.c | 11 +++++++---- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/extensions/ip_cloaking.c b/extensions/ip_cloaking.c index 035913e9b..2aeefe73f 100644 --- a/extensions/ip_cloaking.c +++ b/extensions/ip_cloaking.c @@ -1,4 +1,9 @@ -/* $Id: ip_cloaking.c 3526 2007-07-06 07:56:14Z nenolod $ */ +/* + * Charybdis: an advanced ircd + * ip_cloaking.c: provide user hostname cloaking + * + * Written originally by nenolod, altered to use FNV by Elizabeth in 2008 + */ #include "stdinc.h" #include "modules.h" @@ -12,9 +17,6 @@ #include "s_serv.h" #include "numeric.h" -/* if you're modifying this module, you'll probably to change this */ -#define KEY 0x13748cfa - static int _modinit(void) { diff --git a/extensions/ip_cloaking_4.0.c b/extensions/ip_cloaking_4.0.c index 150a7194e..cc92360ff 100644 --- a/extensions/ip_cloaking_4.0.c +++ b/extensions/ip_cloaking_4.0.c @@ -1,4 +1,9 @@ -/* $Id: ip_cloaking.c 3526 2007-07-06 07:56:14Z nenolod $ */ +/* + * Charybdis: an advanced ircd + * ip_cloaking.c: provide user hostname cloaking + * + * Written originally by nenolod, altered to use FNV by Elizabeth in 2008 + */ #include "stdinc.h" #include "modules.h" @@ -12,9 +17,6 @@ #include "s_serv.h" #include "numeric.h" -/* if you're modifying this module, you'll probably to change this */ -#define KEY 0x13748cfa - static int _modinit(void) { @@ -219,3 +221,4 @@ check_new_user(void *vdata) SetDynSpoof(source_p); } } +