summaryrefslogtreecommitdiff
path: root/src/plexus.c
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-03-13 15:05:26 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-03-13 15:05:26 +0000
commit7bdbe05535b164c72df20cc393ea073416e72f86 (patch)
tree2bccbba8f51106604b64ed75764e888452271ade /src/plexus.c
parent5d30eeca0952a28f7cbacada557ac0b72d3e248f (diff)
BUILD : 1.7.8 (617) BUGS : NOTES : Fixed: [1] Will not set already set channel modes anymore [2] Do not display entrymsg/greet while syncing [3] Sync state for uplink not always set correctly
git-svn-id: svn://svn.anope.org/anope/trunk@617 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@465 5417fbe8-f217-4b02-8779-1006273d7864
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;
}