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:
Jos Ahrens
2019-04-20 07:58:14 +00:00
parent 8d309bbb3d
commit 4f446552a3
10 changed files with 14 additions and 3080 deletions

View File

@@ -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") {