From 1d063d93408876971d343ecfcb98481bec81e25c Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 7 Dec 2008 21:15:03 +0000 Subject: [PATCH] Make an error message more verbose to help users git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10866 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/server.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/m_spanningtree/server.cpp b/src/modules/m_spanningtree/server.cpp index 0a9790450..aee478e2e 100644 --- a/src/modules/m_spanningtree/server.cpp +++ b/src/modules/m_spanningtree/server.cpp @@ -70,7 +70,7 @@ bool TreeSocket::RemoteServer(const std::string &prefix, std::deque if (Node->DuplicateID()) { - this->SendError("Server ID "+servername+" already exists on the network!"); + this->SendError("Server ID "+servername+" already exists on the network! You may want to specify the server ID for the server manually with so they do not conflict."); this->ServerInstance->SNO->WriteToSnoMask('L', "Server \2"+servername+"\2 being introduced from \2" + ParentOfThis->GetName() + "\2 denied, server ID already exists on the network. Closing link with " + ParentOfThis->GetName()); return false; } @@ -158,7 +158,7 @@ bool TreeSocket::Outbound_Reply_Server(std::deque ¶ms) if (Node->DuplicateID()) { - this->SendError("Server ID "+sid+" already exists on the network!"); + this->SendError("Server ID "+sid+" already exists on the network! You may want to specify the server ID for the server manually with so they do not conflict."); this->ServerInstance->SNO->WriteToSnoMask('l',"Server \2"+assign(servername)+"\2 being introduced denied, server ID already exists on the network. Closing link."); return false; } @@ -238,7 +238,7 @@ bool TreeSocket::Inbound_Server(std::deque ¶ms) if (CheckDupeSID) { - this->SendError("Server ID "+CheckDupeSID->GetID()+" already exists on server "+CheckDupeSID->GetName()+"!"); + this->SendError("Server ID "+CheckDupeSID->GetID()+" already exists on server "+CheckDupeSID->GetName()+"! You may want to specify the server ID for the server manually with so they do not conflict."); this->ServerInstance->SNO->WriteToSnoMask('l',"Server connection from \2"+sname+"\2 denied, server ID '"+CheckDupeSID->GetID()+ "' already exists on server "+CheckDupeSID->GetName()); return false; -- 2.39.5