diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-08 16:39:14 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-08 16:39:14 +0000 |
commit | 4e76d134288ad0c446cfd1d6e0204948c898981e (patch) | |
tree | b8f4de0e0ede90a92b1bb8677ec2caece21ed3f8 /include | |
parent | 51d869db5768386c8c638415426fa97985ad5693 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/services.h | 6 |
1 files changed, 2 insertions, 4 deletions
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_ { |