summaryrefslogtreecommitdiff
path: root/src/plexus.c
diff options
context:
space:
mode:
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;
}