0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 21:28:53 +02:00

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.
This commit is contained in:
Elizabeth Jennifer Myers 2011-07-25 23:38:56 -04:00
parent 95c4ec2524
commit 89bfeb8fb1
2 changed files with 13 additions and 8 deletions

View file

@ -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)
{

View file

@ -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);
}
}