summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorDan Parsons <dparsons@nyip.net>2014-05-20 15:48:50 -0700
committerAttila Molnar <attilamolnar@hush.com>2014-05-21 01:47:30 +0200
commit16a5b3545b007fb350e6c94d9203740e546ffe81 (patch)
tree84b61afefd774f16e7613063adcbbc4e4e5c5168 /src/modules
parent0568db10050db0947d30d41db2d95afeb541e86f (diff)
Update server.cpp
Rewrote "invalid credentials" error message to remove confusion regarding "server snomask", which some users interpreted as "I must make sure the snomask on each server is identical" (which makes no sense), when really the intention is basically "look at the logs on the other server".
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/server.cpp b/src/modules/m_spanningtree/server.cpp
index 05441da0c..d3033799e 100644
--- a/src/modules/m_spanningtree/server.cpp
+++ b/src/modules/m_spanningtree/server.cpp
@@ -176,7 +176,7 @@ bool TreeSocket::Outbound_Reply_Server(parameterlist &params)
return true;
}
- this->SendError("Invalid credentials (check the other server's linking snomask for more information)");
+ this->SendError("Mismatched server name or password (check the other server's snomask output for details - e.g. umode +s +Ll)");
ServerInstance->SNO->WriteToSnoMask('l',"Server connection from \2"+sname+"\2 denied, invalid link credentials");
return false;
}
@@ -276,7 +276,7 @@ bool TreeSocket::Inbound_Server(parameterlist &params)
return true;
}
- this->SendError("Invalid credentials");
+ this->SendError("Mismatched server name or password (check the other server's snomask output for details - e.g. umode +s +Ll)");
ServerInstance->SNO->WriteToSnoMask('l',"Server connection from \2"+sname+"\2 denied, invalid link credentials");
return false;
}