summaryrefslogtreecommitdiff
path: root/src/shadowircd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shadowircd.c')
-rw-r--r--src/shadowircd.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/shadowircd.c b/src/shadowircd.c
index df27f88bd..954ca1c20 100644
--- a/src/shadowircd.c
+++ b/src/shadowircd.c
@@ -1140,9 +1140,15 @@ int anope_event_eos(char *source, int ac, char **av)
{
Server *s;
s = findserver_uid(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;
}