Browse files

Merge pull request #432 from dgw/out-of-networks-err-sp

Tweak wording of "out of networks" errors
  • Loading branch information...
2 parents 5d74720 + 2b3d40a commit 9e0597fd076879e48ab20c3ed30146e80010a2db @DarthGandalf DarthGandalf committed Nov 21, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 modules/controlpanel.cpp
  2. +1 −1 modules/webadmin.cpp
  3. +1 −1 src/ClientCommand.cpp
View
2 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 <name>");
+ PutStatus("Network number limit reached. Ask an admin to increase the limit for you, or delete unneeded networks using /znc DelNetwork <name>");
return;
}
View
2 modules/webadmin.cpp
@@ -821,7 +821,7 @@ class CWebAdminMod : public CModule {
}
} 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;
}
View
2 src/ClientCommand.cpp
@@ -495,7 +495,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 <name>");
+ PutStatus("Network number limit reached. Ask an admin to increase the limit for you, or delete unneeded networks using /znc DelNetwork <name>");
return;
}

0 comments on commit 9e0597f

Please sign in to comment.