From 4e76d134288ad0c446cfd1d6e0204948c898981e Mon Sep 17 00:00:00 2001 From: rburchell Date: Sat, 8 Aug 2009 16:39:14 +0000 Subject: Remove SSYNC_UNKNOWN. All IRCds can report sync state, and for those that _really_ can't, we can find out via PING/PONG exchange anyway. We will be making use of sync state more shortly. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2441 5417fbe8-f217-4b02-8779-1006273d7864 --- include/services.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/services.h b/include/services.h index c86a5bd1d..79ee35f09 100644 --- a/include/services.h +++ b/include/services.h @@ -521,7 +521,6 @@ struct ircdvars_ { int supporthelper; /* +h helper umodes */ int p10; /* ircd is P10 */ char *nickchars; /* character set */ - int sync; /* reports sync state */ int cidrchanbei; /* channel bans/excepts/invites support CIDR (syntax: +b *!*@192.168.0.0/15) * 0 for no support, 1 for strict cidr support, anything else * for ircd specific support (nefarious only cares about first /mask) */ @@ -807,9 +806,8 @@ typedef struct { /* Server data */ typedef enum { - SSYNC_UNKNOWN = 0, /* We can't get the sync state */ - SSYNC_IN_PROGRESS = 1, /* Sync is currently in progress */ - SSYNC_DONE = 2 /* We're in sync */ + SSYNC_IN_PROGRESS = 0, /* Sync is currently in progress */ + SSYNC_DONE = 1 /* We're in sync */ } SyncState; struct server_ { -- cgit