summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/protocol/bahamut.c1
-rw-r--r--src/protocol/inspircd11.c1
-rw-r--r--src/protocol/inspircd12.cpp1
-rw-r--r--src/protocol/ratbox.c1
-rw-r--r--src/protocol/unreal32.c1
-rw-r--r--src/servers.c8
6 files changed, 3 insertions, 10 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c
index 7ebdae106..e8be32ca9 100644
--- a/src/protocol/bahamut.c
+++ b/src/protocol/bahamut.c
@@ -127,7 +127,6 @@ IRCDVar myIrcd[] = {
1, /* support helper umode */
0, /* p10 */
NULL, /* character set */
- 1, /* reports sync state */
0, /* CIDR channelbans */
"$", /* TLD Prefix for Global */
}
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c
index c81d9b416..43369f4c3 100644
--- a/src/protocol/inspircd11.c
+++ b/src/protocol/inspircd11.c
@@ -136,7 +136,6 @@ IRCDVar myIrcd[] = {
1, /* support helper umode */
0, /* p10 */
NULL, /* character set */
- 0, /* reports sync state */
1, /* CIDR channelbans */
"$", /* TLD Prefix for Global */
}
diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp
index d364d5100..ab22aa29c 100644
--- a/src/protocol/inspircd12.cpp
+++ b/src/protocol/inspircd12.cpp
@@ -136,7 +136,6 @@ IRCDVar myIrcd[] = {
1, /* support helper umode */
0, /* p10 */
NULL, /* character set */
- 0, /* reports sync state */
1, /* CIDR channelbans */
"$", /* TLD Prefix for Global */
}
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c
index c989dc004..7cb6cb884 100644
--- a/src/protocol/ratbox.c
+++ b/src/protocol/ratbox.c
@@ -112,7 +112,6 @@ IRCDVar myIrcd[] = {
0, /* support helper umode */
0, /* p10 */
NULL, /* character set */
- 0, /* reports sync state */
0, /* CIDR channelbans */
"$$", /* TLD Prefix for Global */
}
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index b47b22368..44752af7a 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -149,7 +149,6 @@ IRCDVar myIrcd[] = {
1, /* support helper umode */
0, /* p10 */
NULL, /* character set */
- 1, /* reports sync state */
0, /* CIDR channelbans */
"$", /* TLD Prefix for Global */
}
diff --git a/src/servers.c b/src/servers.c
index 5a6cb0239..b820b22e9 100644
--- a/src/servers.c
+++ b/src/servers.c
@@ -137,10 +137,8 @@ Server *new_server(Server * server_uplink, const char *name, const char *desc,
} else {
serv->suid = NULL;
}
- if (ircd->sync)
- serv->sync = SSYNC_IN_PROGRESS;
- else
- serv->sync = SSYNC_UNKNOWN;
+
+ serv->sync = SSYNC_IN_PROGRESS;
serv->links = NULL;
serv->prev = NULL;
@@ -539,7 +537,7 @@ int is_ulined(const char *server)
*/
int is_sync(Server * server)
{
- if ((server->sync == SSYNC_DONE) || (server->sync == SSYNC_UNKNOWN))
+ if (server->sync == SSYNC_DONE)
return 1;
return 0;
}