summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 18:55:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 18:55:33 +0000
commitfc7856deae79857b384df70d91dd971f86f7b331 (patch)
treef98a1a4f701615a9938e18bbd05480a8e781dc3c /src/inspircd.cpp
parent899d0a110ec68f04df3305326d1d5f04ebc7dde8 (diff)
Fixed synching
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@551 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 79f2d58c4..f247e0c90 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -6597,7 +6597,7 @@ void handle_link_packet(long theirkey, char* udp_msg, char* udp_host, int udp_po
if (!strcasecmp(servers[i]->internal_addr,udp_host)) {
servers[i]->key = atoi(params);
log(DEBUG,"Key for this server is now %d",servers[i]->key);
- servers[i]->sync_soon = true;
+ DoSync(serv,udp_host,udp_port,MyKey);
return;
}
}
@@ -6915,17 +6915,6 @@ int InspIRCd(void)
}
fd_reap.clear();
reap_counter=0;
- for (int j = 0; j < 255; j++)
- {
- if (servers[j])
- {
- if (servers[j]->sync_soon)
- {
- servers[j]->sync_soon = false;
- DoSync(servers[j],servers[j]->internal_addr,servers[j]->internal_port,MyKey);
- }
- }
- }
}