mirror of
https://github.com/anope/anope.git
synced 2026-07-02 11:46:37 +02:00
BUILD : 1.7.8 (619) BUGS : NOTES : Fixed the recording of server sync state more reliable, which fixes a bug where servers which did not report bursts would always remain in burst-mode internally
git-svn-id: svn://svn.anope.org/anope/trunk@619 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@467 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
8c95c8f490
commit
dcfcd9302f
@@ -808,12 +808,14 @@ E void notice_help(char *source, User *dest, int message, ...);
|
||||
|
||||
E Server *servlist;
|
||||
E Server *me_server;
|
||||
E Server *serv_uplink;
|
||||
E uint32 uplink_capab;
|
||||
|
||||
E Server *first_server(int flags);
|
||||
E Server *next_server(int flags);
|
||||
|
||||
E int is_ulined(char *server);
|
||||
E int is_sync(Server *server);
|
||||
|
||||
E Server *new_server(Server * uplink, const char *name, const char *desc,
|
||||
uint16 flags, char *suid);
|
||||
|
||||
+14
-7
@@ -335,6 +335,7 @@ struct ircdvars_ {
|
||||
int supporthelper; /* +h helper umodes */
|
||||
int p10; /* ircd is P10 */
|
||||
char *nickchars; /* character set */
|
||||
int sync; /* reports sync state */
|
||||
};
|
||||
|
||||
struct ircdcapab_ {
|
||||
@@ -750,17 +751,23 @@ struct csmodeutil_ {
|
||||
|
||||
/* 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 */
|
||||
} SyncState;
|
||||
|
||||
struct server_ {
|
||||
Server *next, *prev;
|
||||
|
||||
char *name; /* Server name */
|
||||
uint16 hops; /* Hops between services and server */
|
||||
char *desc; /* Server description */
|
||||
uint16 flags; /* Some info flags, as defined below */
|
||||
char *suid; /* Server Univeral ID */
|
||||
int sync; /* Whether is synced or not */
|
||||
char *name; /* Server name */
|
||||
uint16 hops; /* Hops between services and server */
|
||||
char *desc; /* Server description */
|
||||
uint16 flags; /* Some info flags, as defined below */
|
||||
char *suid; /* Server Univeral ID */
|
||||
SyncState sync; /* Server sync state (see above) */
|
||||
|
||||
Server *links; /* Linked list head for linked servers */
|
||||
Server *links; /* Linked list head for linked servers */
|
||||
Server *uplink; /* Server which pretends to be the uplink */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user