From 12d81e1d4e410e7142bfb1c23885c145e2cca4d9 Mon Sep 17 00:00:00 2001 From: Thomas Ward Date: Wed, 26 Mar 2014 20:10:15 -0400 Subject: [PATCH] Reword ClearBindHost/ClearUserBindHost success msg The ClearBindHost and ClearUserBindHost success messages do not make a distinction on whether it's a network bind host that's being cleared or whether it's a user bind host that's being cleared. I think that this should be reworded to make the distinction. --- src/ClientCommand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ClientCommand.cpp b/src/ClientCommand.cpp index 38b8a491..dd969381 100644 --- a/src/ClientCommand.cpp +++ b/src/ClientCommand.cpp @@ -1255,10 +1255,10 @@ void CClient::UserCommand(CString& sLine) { return; } m_pNetwork->SetBindHost(""); - PutStatus("Bind host cleared"); + PutStatus("Bind host cleared for this network."); } else if (sCommand.Equals("CLEARUSERBINDHOST") && (m_pUser->IsAdmin() || !m_pUser->DenySetBindHost())) { m_pUser->SetBindHost(""); - PutStatus("Bind host cleared"); + PutStatus("Bind host cleared for your user."); } else if (sCommand.Equals("SHOWBINDHOST")) { PutStatus("This user's default bind host " + (m_pUser->GetBindHost().empty() ? "not set" : "is [" + m_pUser->GetBindHost() + "]")); if (m_pNetwork) {