]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/server.cpp
First phase of conversion to dynamic limits on all the lengths, configured via the...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / server.cpp
index 3dadf64f6eaf32f8e56b0fdaa617e223366b62f3..31c8b64aebf3228f590d92f34552fcc30e876297 100644 (file)
@@ -133,7 +133,7 @@ bool TreeSocket::Outbound_Reply_Server(std::deque<std::string> &params)
                if (!ComparePass(this->MakePass(x->RecvPass, this->GetOurChallenge()), password) &&
                        (x->RecvPass != password && this->GetTheirChallenge().empty()))
                {
-                       this->Instance->SNO->WriteToSnoMask('l',"Invalid password on link: %s %s %s", x->Name.c_str(), x->RecvPass.c_str(), password.c_str());
+                       this->Instance->SNO->WriteToSnoMask('l',"Invalid password on link: %s", x->Name.c_str());
                        continue;
                }
 
@@ -177,7 +177,7 @@ bool TreeSocket::Outbound_Reply_Server(std::deque<std::string> &params)
                return true;
        }
 
-       this->SendError("Invalid credentials");
+       this->SendError("Invalid credentials (check the other server's linking snomask for more information)");
        this->Instance->SNO->WriteToSnoMask('l',"Server connection from \2"+sname+"\2 denied, invalid link credentials");
        return false;
 }