From 7576bae62bc5dead560dfd3551d0659e4b4443cb Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 8 Dec 2005 21:02:42 +0000 Subject: Altered channel TS sync to always let ulined clients win, regardless of timestamp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2280 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index b11c89e18..703765246 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -837,8 +837,9 @@ class TreeSocket : public InspSocket /* theres a mode for this user. push them onto the mode queue, and flush it * if there are more than MAXMODES to go. */ - if (ourTS >= TS) + if ((ourTS >= TS) || (is_uline(user->server))) { + /* We also always let u-lined clients win, no matter what the TS value */ log(DEBUG,"Our our channel newer than theirs, accepting their modes"); Srv->SendMode(mode_users,modectr,who); } -- cgit v1.2.3