]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
More complicated merges
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 4 Dec 2005 13:29:40 +0000 (13:29 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 4 Dec 2005 13:29:40 +0000 (13:29 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2137 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index fa5a0479f11e7c643ce3f899820609f18ba6a3ea..6ab7a59532fe804c88000fcebf651a7955797a03 100644 (file)
@@ -689,12 +689,6 @@ class TreeSocket : public InspSocket
                                // temporarily (until end of burst) we auto-replace occurances of the old nick with the new nick
                                AddFJoinReplacement(tempnick,nick);
                        }
-                       else
-                       {
-                               // the other end will be changing our nick to the guest nick.
-                               // Pause and wait for their FNICK.
-                               SyncPaused = true;
-                       }
                }
 
                clientlist[tempnick] = new userrec();
@@ -878,7 +872,6 @@ class TreeSocket : public InspSocket
                        Srv->ChangeUserNick(u,newnick);
                        DoOneToAllButSender(prefix,"FNICK",params,prefix);
                }
-               SyncPaused = false;
                return true;
        }
 
@@ -971,7 +964,7 @@ class TreeSocket : public InspSocket
                                params[3] = ":" + params[3];
                                DoOneToAllButSender(TreeRoot->GetName(),"SERVER",params,servername);
                                this->DoBurst(Node);
-                               this->SendChannelModes(s);
+                               this->SendChannelModes(Node);
                                this->WriteLine("ENDBURST");
                                return true;
                        }
@@ -1136,7 +1129,7 @@ class TreeSocket : public InspSocket
                                        // one server must wait till the other servers list of synched users
                                        // before starting, so we have time to resolve collisions
                                        this->DoBurst(Node);
-                                       this->SendChannelModes(s);
+                                       this->SendChannelModes(Node);
                                        this->WriteLine("ENDBURST");
                                }
                                else if (command == "ERROR")