This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Undernet IRC Server Source Code.".
The branch, u2_10_12_branch has been updated
via 344cb9a255b0a0083454d052fa7172695c65cdfd (commit)
from a480e001508c6d0aedc2cb61308d1e6b9a6befdf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 344cb9a255b0a0083454d052fa7172695c65cdfd
Author: Michael Poole <[email protected]>
Date: Wed Jul 26 18:04:08 2017 -0400
ircd: Remove unused global variables.
These were set by the pre-event-engine signal handlers, and checked by the
pre-event-engine main loop. They haven't been modified or read in 16+
years, so it is time for them to go.
diff --git a/include/ircd.h b/include/ircd.h
index 789f971..92e8b2f 100644
--- a/include/ircd.h
+++ b/include/ircd.h
@@ -48,8 +48,6 @@ extern struct Client me;
extern time_t CurrentTime;
extern struct Client* GlobalClientList;
extern time_t TSoffset;
-extern int GlobalRehashFlag; /* 1 if SIGHUP is received */
-extern int GlobalRestartFlag; /* 1 if SIGINT is received */
extern char* configfile;
extern int debuglevel;
extern char* debugmode;
diff --git a/ircd/ircd.c b/ircd/ircd.c
index 6d59e35..c09d68c 100644
--- a/ircd/ircd.c
+++ b/ircd/ircd.c
@@ -104,8 +104,6 @@ struct Connection me_con; /**< That's me too */
struct Client *GlobalClientList = &me; /**< Pointer to beginning of
Client list */
time_t TSoffset = 0; /**< Offset of timestamps to system
clock */
-int GlobalRehashFlag = 0; /**< do a rehash if set */
-int GlobalRestartFlag = 0; /**< do a restart if set */
time_t CurrentTime; /**< Updated every time we leave
select() */
char *configfile = CPATH; /**< Server configuration file */
-----------------------------------------------------------------------
Summary of changes:
include/ircd.h | 2 --
ircd/ircd.c | 2 --
2 files changed, 4 deletions(-)
hooks/post-receive
--
Undernet IRC Server Source Code.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches