summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-12-07 21:15:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-12-07 21:15:03 +0000
commit1d063d93408876971d343ecfcb98481bec81e25c (patch)
tree341a7c5e4a45cabd92ec525c224c16e1f9a765ce /src/modules/m_spanningtree
parenta1871c6a998ed3c352f6169817f6dc7a90f7625f (diff)
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
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/server.cpp6
1 files 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<std::string>
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 <server:id> 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<std::string> &params)
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 <server:id> 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<std::string> &params)
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 <server:id> 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;