summaryrefslogtreecommitdiff
path: root/src/plexus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plexus.c')
-rw-r--r--src/plexus.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/plexus.c b/src/plexus.c
index 06f1f0b70..83684f0ac 100644
--- a/src/plexus.c
+++ b/src/plexus.c
@@ -1008,9 +1008,15 @@ int anope_event_eob(char *source, int ac, char **av)
{
Server *s;
s = findserver(servlist, source);
- if (s) {
+ /* If we found a server with the given source, that one just
+ * finished bursting. If there was no source, then our uplink
+ * server finished bursting. -GD
+ */
+ if (s)
s->sync = 1;
- }
+ else
+ me_server->sync = 1;
+
return MOD_CONT;
}