Integrate disconkick module to core.

Fix #968
This commit is contained in:
Alexey Sokolov
2015-06-04 22:02:39 +01:00
parent f8f097a5db
commit 2f65dbbc64
3 changed files with 15 additions and 44 deletions

View File

@@ -376,6 +376,7 @@ bool CUser::ParseConfig(CConfig* pConfig, CString& sError) {
// XXX Legacy crap, added in ZNC 0.099
if (sModName == "fixfreenode") {
sNotice = "NOTICE: [fixfreenode] doesn't do anything useful anymore, ignoring it";
CUtils::PrintMessage(sNotice);
continue;
}
@@ -419,6 +420,13 @@ bool CUser::ParseConfig(CConfig* pConfig, CString& sError) {
continue;
}
// XXX Legacy crap, added in 1.7
if (sModName == "disconkick") {
sNotice = "NOTICE: [disconkick] is integrated to core now, ignoring it";
CUtils::PrintMessage(sNotice);
continue;
}
CString sModRet;
CString sArgs = sMod.Token(1, true);