summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-12 21:02:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-12 21:02:40 +0000
commita6de41216f4061a614a854be4950c6832b260a47 (patch)
tree9fcdf43d8bc5015addf12de89be28c040fb3d094 /src
parent20dbeb8cef60920c140ff08fa3e0d9f2c01fa430 (diff)
Instantly apply lines when not synching
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3171 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 060c4c39b..e7ef43701 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1641,6 +1641,10 @@ class TreeSocket : public InspSocket
params[5] = ":" + params[5];
DoOneToAllButSender(prefix,"ADDLINE",params,prefix);
}
+ if (!this->bursting)
+ {
+ apply_lines(APPLY_ZLINES|APPLY_GLINES|APPLY_QLINES);
+ }
return true;
}
@@ -2269,6 +2273,7 @@ class TreeSocket : public InspSocket
else if (command == "ENDBURST")
{
this->bursting = false;
+ apply_lines(APPLY_ZLINES|APPLY_GLINES|APPLY_QLINES);
return true;
}
else