summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-08-08 16:39:14 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-08-08 16:39:14 +0000
commit4e76d134288ad0c446cfd1d6e0204948c898981e (patch)
treeb8f4de0e0ede90a92b1bb8677ec2caece21ed3f8 /include
parent51d869db5768386c8c638415426fa97985ad5693 (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.h6
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_ {