Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

*admin was renamed to controlpanel.

But znc --makeconf and config writer didn't know that.
  • Loading branch information...
commit 9edcc716d5aadd83afbe208fdaa16300a2eff780 1 parent 3be9c7a
@DarthGandalf DarthGandalf authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/znc.cpp
View
4 src/znc.cpp
@@ -524,7 +524,7 @@ CString CZNC::MakeConfigHeader() {
"// WARNING\n"
"//\n"
"// Do NOT edit this file while ZNC is running!\n"
- "// Use webadmin or *admin instead.\n"
+ "// Use webadmin or *controlpanel instead.\n"
"//\n"
"// Buf if you feel risky, you might want to read help on /znc saveconfig and /znc rehash.\n"
"// Also check http://en.znc.in/wiki/Configuration\n";
@@ -956,7 +956,7 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) {
}
size_t CZNC::FilterUncommonModules(set<CModInfo>& ssModules) {
- const char* ns[] = { "webadmin", "admin",
+ const char* ns[] = { "webadmin", "controlpanel",
"chansaver", "keepnick", "simple_away", "partyline",
"kickrejoin", "nickserv", "perform" };
const set<CString> ssNames(ns, ns + sizeof(ns) / sizeof(ns[0]));
Please sign in to comment.
Something went wrong with that request. Please try again.