diff options
Diffstat (limited to 'src/modules')
-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 bab3d9adb..703972f2c 100644 --- a/src/modules/m_spanningtree/server.cpp +++ b/src/modules/m_spanningtree/server.cpp @@ -131,7 +131,7 @@ bool TreeSocket::Outbound_Reply_Server(std::deque<std::string> ¶ms) continue; if (!ComparePass(this->MakePass(x->RecvPass, this->GetOurChallenge(), password)) || - x->RecvPass != password && !this->GetTheirChallenge().empty()) + (x->RecvPass != password && !this->GetTheirChallenge().empty())) continue; TreeServer* CheckDupe = Utils->FindServer(sname); @@ -219,7 +219,7 @@ bool TreeSocket::Inbound_Server(std::deque<std::string> ¶ms) continue; if (!ComparePass(this->MakePass(x->RecvPass, this->GetOurChallenge(), password)) || - x->RecvPass != password && !this->GetTheirChallenge().empty()) + (x->RecvPass != password && !this->GetTheirChallenge().empty())) continue; /* Check for fully initialized instances of the server by id */ |