mirror of
https://github.com/matrix-construct/construct
synced 2024-11-19 08:21:09 +01: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:
parent
95c4ec2524
commit
89bfeb8fb1
2 changed files with 13 additions and 8 deletions
|
@ -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 "stdinc.h"
|
||||||
#include "modules.h"
|
#include "modules.h"
|
||||||
|
@ -12,9 +17,6 @@
|
||||||
#include "s_serv.h"
|
#include "s_serv.h"
|
||||||
#include "numeric.h"
|
#include "numeric.h"
|
||||||
|
|
||||||
/* if you're modifying this module, you'll probably to change this */
|
|
||||||
#define KEY 0x13748cfa
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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 "stdinc.h"
|
||||||
#include "modules.h"
|
#include "modules.h"
|
||||||
|
@ -12,9 +17,6 @@
|
||||||
#include "s_serv.h"
|
#include "s_serv.h"
|
||||||
#include "numeric.h"
|
#include "numeric.h"
|
||||||
|
|
||||||
/* if you're modifying this module, you'll probably to change this */
|
|
||||||
#define KEY 0x13748cfa
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
{
|
{
|
||||||
|
@ -219,3 +221,4 @@ check_new_user(void *vdata)
|
||||||
SetDynSpoof(source_p);
|
SetDynSpoof(source_p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue