From: special Date: Tue, 26 Sep 2006 14:53:01 +0000 (+0000) Subject: Fixed a rather obvious crashbug in m_spanningtree (FJOIN) X-Git-Tag: v2.0.23~7024 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=a9a5b43ac549eab63fb790b6e99060e8c2b31106;p=user%2Fhenk%2Fcode%2Finspircd.git Fixed a rather obvious crashbug in m_spanningtree (FJOIN) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5335 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 5e7ba4367..caa26955e 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -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 param_list;