diff options
| author | 2009-06-07 02:57:54 +0000 | |
|---|---|---|
| committer | 2009-06-07 02:57:54 +0000 | |
| commit | 885d37630ef4b5b69c26c6eb3fc97e9cd2e35eae (patch) | |
| tree | 51624b6cb5e5bb06531bc127bb1d0cd465502641 /src/modules/m_spanningtree/server.cpp | |
| parent | Don't display locally bound SSL ports in SSL= (for hidden services and such) (diff) | |
Allow SSL fingerprint-based server authentication
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/server.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/server.cpp b/src/modules/m_spanningtree/server.cpp index 0d9bd0a9e..fcf3bbfa0 100644 --- a/src/modules/m_spanningtree/server.cpp +++ b/src/modules/m_spanningtree/server.cpp @@ -128,7 +128,7 @@ bool TreeSocket::Outbound_Reply_Server(std::deque<std::string> ¶ms) if (x->Name != servername && x->Name != "*") // open link allowance continue; - if (!ComparePass(x->RecvPass, password)) + if (!ComparePass(*x, password)) { this->ServerInstance->SNO->WriteToSnoMask('l',"Invalid password on link: %s", x->Name.c_str()); continue; @@ -224,7 +224,7 @@ bool TreeSocket::Inbound_Server(std::deque<std::string> ¶ms) if (x->Name != servername && x->Name != "*") // open link allowance continue; - if (!ComparePass(x->RecvPass, password)) + if (!ComparePass(*x, password)) { this->ServerInstance->SNO->WriteToSnoMask('l',"Invalid password on link: %s", x->Name.c_str()); continue; |
