summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-08 18:58:25 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-08 18:58:25 +0000
commit29800b58446920762aab798b4ac428df82049542 (patch)
tree7f0e41030f5b520d4e242f7ca5d0a3ca3b2fe42c
parentb8ddf2f3c825581e3af6dbfa5b0815ccf08faa0f (diff)
Fix compile error I introduced
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9430 e03df62e-2008-0410-955e-edbf42e46eb7
-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;