mirror of
https://github.com/znc/znc.git
synced 2026-05-02 11:32:29 +02:00
modules: Remove Q
Q can be replaced with the perform module, and will still be available as a third-party module for those who use the module and QuakeNet. In general, the Q module only targets a single network not everyone may use, the additional support and maintenance burden is not worth it. References #786 Closes #1636 as wontfix Closes #554 as wontfix
This commit is contained in:
@@ -456,6 +456,20 @@ bool CIRCNetwork::ParseConfig(CConfig* pConfig, CString& sError,
|
||||
bool bModRet = LoadModule(sModName, sArgs, sNotice, sModRet);
|
||||
|
||||
if (!bModRet) {
|
||||
// Q is removed in znc 1.8
|
||||
if (sModName == "q") {
|
||||
CUtils::PrintError(
|
||||
"NOTICE: [q] is unavailable, cannot load.");
|
||||
CUtils::PrintError(
|
||||
"NOTICE: [q] is removed in this release of ZNC. Please "
|
||||
"either remove it from your config or install it as a "
|
||||
"third party module with the same name.");
|
||||
CUtils::PrintError(
|
||||
"NOTICE: More info can be found on "
|
||||
"https://wiki.znc.in/Q");
|
||||
return false;
|
||||
}
|
||||
|
||||
// XXX The awaynick module was retired in 1.6 (still available
|
||||
// as external module)
|
||||
if (sModName == "awaynick") {
|
||||
|
||||
Reference in New Issue
Block a user