From 29800b58446920762aab798b4ac428df82049542 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 8 Apr 2008 18:58:25 +0000 Subject: Fix compile error I introduced git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9430 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_spanningtree/server.cpp b/src/modules/m_spanningtree/server.cpp index 703972f2c..b609202d5 100644 --- a/src/modules/m_spanningtree/server.cpp +++ b/src/modules/m_spanningtree/server.cpp @@ -130,7 +130,7 @@ bool TreeSocket::Outbound_Reply_Server(std::deque ¶ms) if (x->Name != servername && x->Name != "*") // open link allowance continue; - if (!ComparePass(this->MakePass(x->RecvPass, this->GetOurChallenge(), password)) || + if (!ComparePass(this->MakePass(x->RecvPass, this->GetOurChallenge()), password) || (x->RecvPass != password && !this->GetTheirChallenge().empty())) continue; @@ -218,7 +218,7 @@ bool TreeSocket::Inbound_Server(std::deque ¶ms) if (x->Name != servername && x->Name != "*") // open link allowance continue; - if (!ComparePass(this->MakePass(x->RecvPass, this->GetOurChallenge(), password)) || + if (!ComparePass(this->MakePass(x->RecvPass, this->GetOurChallenge()), password) || (x->RecvPass != password && !this->GetTheirChallenge().empty())) continue; -- cgit v1.2.3