From 48e0af03c175aff0fe36bb4faec09a783a8c1251 Mon Sep 17 00:00:00 2001 From: dgw Date: Thu, 21 Nov 2013 03:48:53 -0500 Subject: [PATCH] tweak wording of "out of networks" errors (cherry picked from commit 2b3d40a501d47fb8431c5e3effec987c5e1c9503) --- modules/controlpanel.cpp | 2 +- modules/webadmin.cpp | 2 +- src/ClientCommand.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/controlpanel.cpp b/modules/controlpanel.cpp index 5fdd05a0..b77d4d3c 100644 --- a/modules/controlpanel.cpp +++ b/modules/controlpanel.cpp @@ -744,7 +744,7 @@ class CAdminMod : public CModule { } if (!m_pUser->IsAdmin() && !pUser->HasSpaceForNewNetwork()) { - PutStatus("Network number limit reached. Ask an admin to increase the limit for you, or delete few old ones using /znc DelNetwork "); + PutStatus("Network number limit reached. Ask an admin to increase the limit for you, or delete unneeded networks using /znc DelNetwork "); return; } diff --git a/modules/webadmin.cpp b/modules/webadmin.cpp index 2f1b971b..6c3e8869 100644 --- a/modules/webadmin.cpp +++ b/modules/webadmin.cpp @@ -821,7 +821,7 @@ public: } } else { if (!spSession->IsAdmin() && !pUser->HasSpaceForNewNetwork()) { - WebSock.PrintErrorPage("Network number limit reached. Ask an admin to increase the limit for you, or delete few old ones from Your Settings"); + WebSock.PrintErrorPage("Network number limit reached. Ask an admin to increase the limit for you, or delete unneeded networks from Your Settings."); return true; } diff --git a/src/ClientCommand.cpp b/src/ClientCommand.cpp index 3b4f7825..ccb13e17 100644 --- a/src/ClientCommand.cpp +++ b/src/ClientCommand.cpp @@ -467,7 +467,7 @@ void CClient::UserCommand(CString& sLine) { " - Detached: " + CString(uNumDetached) + " - Disabled: " + CString(uNumDisabled)); } else if (sCommand.Equals("ADDNETWORK")) { if (!m_pUser->IsAdmin() && !m_pUser->HasSpaceForNewNetwork()) { - PutStatus("Network number limit reached. Ask an admin to increase the limit for you, or delete few old ones using /znc DelNetwork "); + PutStatus("Network number limit reached. Ask an admin to increase the limit for you, or delete unneeded networks using /znc DelNetwork "); return; }