Make disconkick a module again.

While not kicking upon disconnect can cause desync with client and other
issues, there were multiple complains about the new behavior, and the
user should have the choice.

Revert 2f65dbbc64
Ref #968
This commit is contained in:
Alexey Sokolov
2017-08-26 21:46:55 +01:00
parent bb27cd964c
commit a719ea36aa
3 changed files with 46 additions and 18 deletions

View File

@@ -463,14 +463,6 @@ 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);