summaryrefslogtreecommitdiff
path: root/src/plexus.c
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-04-04 14:16:25 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-04-04 14:16:25 +0000
commitd31359dcdc37be9797e50cdf1a6850c1f5ef0119 (patch)
tree6bb0449df10a73d77b1200d824024a4cd4560547 /src/plexus.c
parentb738b7d6bc550ebdfb2e5b7068afa54dc6e1f9f7 (diff)
BUILD : 1.7.8 (655) BUGS : NOTES : We need to update the sync-state for leaf servers as well, or strange things will happen...
git-svn-id: svn://svn.anope.org/anope/trunk@655 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@503 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/plexus.c')
-rw-r--r--src/plexus.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plexus.c b/src/plexus.c
index 7b5c54f2f..63ef88996 100644
--- a/src/plexus.c
+++ b/src/plexus.c
@@ -1015,11 +1015,9 @@ int anope_event_eob(char *source, int ac, char **av)
* finished bursting. If there was no source, then our uplink
* server finished bursting. -GD
*/
- if (s)
- s->sync = SSYNC_DONE;
- else if (serv_uplink)
- serv_uplink->sync = SSYNC_DONE;
- restore_unsynced_topics();
+ if (!s && serv_uplink)
+ s = serv_uplink;
+ finish_sync(s, 1);
return MOD_CONT;
}