mirror of
https://github.com/znc/znc.git
synced 2026-05-05 21:12:37 +02:00
*admin was renamed to controlpanel.
But znc --makeconf and config writer didn't know that.
This commit is contained in:
@@ -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]));
|
||||
|
||||
Reference in New Issue
Block a user