]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix odd desync in FJOIN (this was some hax we put in, and forgot to take out)
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 1 Jan 2007 18:01:11 +0000 (18:01 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 1 Jan 2007 18:01:11 +0000 (18:01 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6198 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index 472e4414c2aa8030ece11fb82ecda3082711861e..0ef2e6602a98a2cdd1022aad019b0f23b06f1ee0 100644 (file)
@@ -1635,20 +1635,6 @@ class TreeSocket : public InspSocket
                else
                        created = true; /* don't perform deops, and set TS to correct time after processing. */
 
-               /* Check if there are any local users on this channel. If there are not, set created = true.
-                * If there are no local users here, theres no need for us to bounce the modes, we leave this
-                * to servers which do have local users and save some bandwidth and prevent spurious deops
-                */
-               if (!created)
-               {
-                       CUList elist;
-                       TreeServerList list;
-                       Utils->GetListOfServersForChannel(chan, list, 0, elist);
-                       if (list.find(Utils->TreeRoot) == list.end())
-                               created = true;
-               }
-
-
                /* In 1.1, if they have the newer channel, we immediately clear
                 * all status modes from our users. We then accept their modes.
                 * If WE have the newer channel its the other side's job to do this.