#include "m_spanningtree/main.h"
#include "m_spanningtree/utils.h"
-#include "m_spanningtree/treeserver.h"
#include "m_spanningtree/link.h"
+#include "m_spanningtree/treeserver.h"
#include "m_spanningtree/treesocket.h"
-#include "m_spanningtree/resolvers.h"
-#include "m_spanningtree/handshaketimer.h"
-/* $ModDep: m_spanningtree/timesynctimer.h m_spanningtree/resolvers.h m_spanningtree/main.h m_spanningtree/utils.h m_spanningtree/treeserver.h m_spanningtree/link.h m_spanningtree/treesocket.h */
+/* $ModDep: m_spanningtree/main.h m_spanningtree/utils.h m_spanningtree/treeserver.h m_spanningtree/treesocket.h m_spanningtree/link.h */
/*
* Some server somewhere in the network introducing another server.
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;
}
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;
}