]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixed a rather obvious crashbug in m_spanningtree (FJOIN)
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 26 Sep 2006 14:53:01 +0000 (14:53 +0000)
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 26 Sep 2006 14:53:01 +0000 (14:53 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5335 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index 5e7ba436744588d9fc3c063a444be98f14752beb..caa26955eabeab5434ad163f84f3ca030fd44b09 100644 (file)
@@ -1553,7 +1553,7 @@ class TreeSocket : public InspSocket
                 * Note that this causes the losing server to send out confirming
                 * FMODE lines.
                 */
-               if ((ourTS > TS) || (this->Instance->ULine(who->server)))
+               if ((ourTS > TS) || (this->Instance->ULine(source.c_str())))
                {
                        Instance->Log(DEBUG,"FJOIN detected, our TS=%lu, their TS=%lu",ourTS,TS);
                        std::deque<std::string> param_list;