mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Return old fakeonline module as modules_online
It was accidentally dropped in 0.207 because of the confusing name, it looked too much like antiidle module. Instead, this module tells broken clients like Colloquy that *status and *module are "online". Otherwise those clients require user to always prepend messages to *module with "/msg *module", even if the window of *module's query is active. Also fix the module to support network modules
This commit is contained in:
@@ -400,6 +400,12 @@ bool CUser::ParseConfig(CConfig* pConfig, CString& sError) {
|
||||
sModName = "awaystore";
|
||||
}
|
||||
|
||||
// XXX Legacy crap, added in 1.1; fakeonline module was dropped in 1.0 and returned in 1.1
|
||||
if (sModName == "fakeonline") {
|
||||
CUtils::PrintMessage("NOTICE: [fakeonline] was renamed, loading [modules_online] instead");
|
||||
sModName = "modules_online";
|
||||
}
|
||||
|
||||
CUtils::PrintAction("Loading user module [" + sModName + "]");
|
||||
CString sModRet;
|
||||
CString sArgs = sValue.Token(1, true);
|
||||
|
||||
Reference in New Issue
Block a user