summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-08 14:58:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-08 14:58:30 +0000
commit83c2e51b6578f63358c074069ce254339b432731 (patch)
treec7cf37f0663b5b83b4181280c537a2f9a72d478c /src/modules/m_spanningtree
parenteaeb69b3bade35e0ac3a3f10a3ffe633df554dab (diff)
Take away a uline specific check in fmode, which might explain why desyncs between servers only occur when theres a ulined server about.
QA please test this with at least 2 insps and services and server syncs/splits, check for channel mode desyncs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6638 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp
index a376b5cb1..ae972a37e 100644
--- a/src/modules/m_spanningtree/treesocket1.cpp
+++ b/src/modules/m_spanningtree/treesocket1.cpp
@@ -663,7 +663,7 @@ bool TreeSocket::ForceMode(const std::string &source, std::deque<std::string> &p
}
else
/* U-lined servers always win regardless of their TS */
- if ((TS > ourTS) && (!this->Instance->ULine(source.c_str())))
+ if (TS > ourTS)
{
/* Bounce the mode back to its sender.* We use our lower TS, so the other end
* SHOULD accept it, if its clock is right.
@@ -761,13 +761,6 @@ bool TreeSocket::ForceMode(const std::string &source, std::deque<std::string> &p
}
else
{
- /* The server was ulined, but something iffy is up with the TS.
- * Sound the alarm bells!
- */
- if ((this->Instance->ULine(sourceserv.c_str())) && (TS > ourTS))
- {
- this->Instance->WriteOpers("\2WARNING!\2 U-Lined server '%s' has bad TS for '%s' (accepted change): \2SYNC YOUR CLOCKS\2 to avoid this notice",sourceserv.c_str(),params[0].c_str());
- }
/* Allow the mode, route it to either server or user command handling */
if (smode)
this->Instance->SendMode(modelist,n,who);