diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-07 14:36:21 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-07 14:36:21 +0000 |
commit | c8e3758b928bc91310545e56a7a19a58e87e54e8 (patch) | |
tree | dbe752dd779a058973746c3cfdfbaf65656084f6 | |
parent | 5aed4a670019daf0b73ad0f960c4a471825e33a8 (diff) |
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
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<std::string> &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); |