summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/protocol/ultimate3.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/protocol/ultimate3.c b/src/protocol/ultimate3.c
index 9136db5c2..d45e2e1ae 100644
--- a/src/protocol/ultimate3.c
+++ b/src/protocol/ultimate3.c
@@ -1600,10 +1600,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
- me_server->sync = SSYNC_DONE;
+ if (!s && serv_uplink)
+ s = serv_uplink;
+ finish_sync(s, 1);
}
return MOD_CONT;
}