From e559bc66770a923ad3fea7a7841817c870fad71d Mon Sep 17 00:00:00 2001 From: TheLordOfTime Date: Wed, 30 Jan 2013 22:58:32 -0500 Subject: [PATCH] controlpanel.cpp: Standardize error wordings When a network cannot be found for a user, and where a command will output an error under such circumstances, use similar wording in each message. --- modules/controlpanel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/controlpanel.cpp b/modules/controlpanel.cpp index e3836a87..e36730f3 100644 --- a/modules/controlpanel.cpp +++ b/modules/controlpanel.cpp @@ -723,7 +723,7 @@ class CAdminMod : public CModule { } if (pUser->FindNetwork(sNetwork)) { - PutModule("[" + pUser->GetUserName() + "] already has a network named [" + sNetwork + "]"); + PutModule("[" + pUser->GetUserName() + "] already has a network with the name [" + sNetwork + "]"); return; } @@ -756,7 +756,7 @@ class CAdminMod : public CModule { CIRCNetwork* pNetwork = pUser->FindNetwork(sNetwork); if (!pNetwork) { - PutModule("[" + pUser->GetUserName() + "] does not have a network named [" + sNetwork + "]"); + PutModule("[" + pUser->GetUserName() + "] does not have a network with the name [" + sNetwork + "]"); return; } @@ -854,7 +854,7 @@ class CAdminMod : public CModule { CIRCNetwork* pNetwork = pUser->FindNetwork(sNetwork); if (!pNetwork) { - PutModule("[" + sUserName + "] does not have a network named [" + sNetwork + "]"); + PutModule("[" + sUserName + "] does not have a network with the name [" + sNetwork + "]"); return; } @@ -891,7 +891,7 @@ class CAdminMod : public CModule { CIRCNetwork* pNetwork = pUser->FindNetwork(sNetwork); if (!pNetwork) { - PutModule("[" + sUserName + "] does not have a network [" + sNetwork + "]"); + PutModule("[" + sUserName + "] does not have a network with the name [" + sNetwork + "]"); return; }