summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree/server.cpp4
1 files 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<std::string> &params)
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<std::string> &params)
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;