From 4e96e013ac326d7158d7326641a0ff26797ba404 Mon Sep 17 00:00:00 2001 From: stskeeps Date: Sun, 25 Jun 2000 08:39:50 +0000 Subject: [PATCH] +- Removed some odd Clone stuff(?) --- Changes | 1 + include/struct.h | 1 - src/channel.c | 2 +- src/ircd.c | 24 +----------------------- 4 files changed, 3 insertions(+), 25 deletions(-) diff --git a/Changes b/Changes index 14d4a8ab8..5cea09ec2 100644 --- a/Changes +++ b/Changes @@ -395,3 +395,4 @@ - Fixed /setname desynch - Removed IsService(), and some wierd stuff - Broken INETD support removed +- Removed some odd Clone stuff(?) diff --git a/include/struct.h b/include/struct.h index d1d2991ae..61e1e16ea 100644 --- a/include/struct.h +++ b/include/struct.h @@ -65,7 +65,6 @@ typedef struct SBan Ban; typedef struct SMode Mode; typedef struct ListOptions LOpts; typedef struct FloodOpt aFloodOpt; -typedef struct CloneItem aClone; typedef struct ircstatsx ircstats; typedef struct MotdItem aMotd; typedef struct trecord aTrecord; diff --git a/src/channel.c b/src/channel.c index c47397089..b751104d5 100644 --- a/src/channel.c +++ b/src/channel.c @@ -412,7 +412,7 @@ static int find_banid(chptr, banid) } /* - * IsMember - returns 1 if a person is joined and not a zombie + * IsMember - returns 1 if a person is joined * Moved to struct.h */ diff --git a/src/ircd.c b/src/ircd.c index 709762ccf..c6e0eded8 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -24,10 +24,6 @@ static char sccsid[] = Computing Center and Jarkko Oikarinen"; #endif - -/* debug --sts (chdir kludge) */ -// #define UNREAL_DEBUG - #include "config.h" #include "struct.h" #include "common.h" @@ -64,6 +60,7 @@ Computing Center and Jarkko Oikarinen"; #include "badwords.h" #endif #include "version.h" + ID_CVS("$Id$"); ID_Copyright ("(C) 1988 University of Oulu, Computing Center and Jarkko Oikarinen"); @@ -151,29 +148,10 @@ time_t nextexpire = 1; /* next expire run on the dns cache */ time_t nextkillcheck = 1; /* next time to check for nickserv kills */ time_t lastlucheck = 0; -/* int lu_noninv = 0, - lu_inv = 0, - lu_serv = 0, - lu_oper = 0, - lu_unknown = 0, - lu_channel = 0, - lu_lu = 0, - lu_lulocal = 0, - lu_lserv = 0, - lu_clu = 0, - lu_mlu = 0, - lu_cglobalu = 0, - lu_mglobalu; -*/ -/* */ #ifdef UNREAL_DEBUG #undef CHROOTDIR #define CHROOT #endif -#ifdef CLONE_CHECK -aClone *Clones = NULL; -char clonekillhost[100]; -#endif time_t NOW; #if defined(PROFIL) && !defined(_WIN32)