summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-26 14:53:01 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-26 14:53:01 +0000
commita9a5b43ac549eab63fb790b6e99060e8c2b31106 (patch)
tree62c86ea6b4528a871ea8fdfd3f826bd3f8f78ec8
parent0bf02e8a09a25b830dc351741093896955a7cae5 (diff)
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
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> param_list;