From c8e3758b928bc91310545e56a7a19a58e87e54e8 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 7 May 2007 14:36:21 +0000 Subject: Add bugnotice when an fmode is sent with a TS < ours. This should in theory never happen unless theres some retardedness going on, the TS should always really be = ours or > ours, as FMODE comes after FJOIN, and FJOIN lowers the TS to be = ours if its greater. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6901 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket1.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 996f96a9f..a6f8ee42d 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -661,6 +661,9 @@ bool TreeSocket::ForceMode(const std::string &source, std::deque &p */ if (TS <= ourTS) { + if (TS < ourTS) + Instance->Log(DEFAULT,"*** BUG *** Channel TS sent in FMODE to %s is %lu which is not equal to %lu!", params[0].c_str(), TS, ourTS); + if (smode) { this->Instance->SendMode(modelist, n, who); -- cgit v1.2.3