summaryrefslogtreecommitdiff
path: root/src/bahamut.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bahamut.c')
-rw-r--r--src/bahamut.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/bahamut.c b/src/bahamut.c
index dca254bff..1f54406bc 100644
--- a/src/bahamut.c
+++ b/src/bahamut.c
@@ -1619,11 +1619,9 @@ int anope_event_burst(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;
}