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