mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
Removed AutoCycle from core
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1191 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -1134,7 +1134,9 @@ bool CZNC::DoRehash(CString& sError)
|
||||
pChan->SetDetached((sValue.CaseCmp("true") == 0));
|
||||
continue;
|
||||
} else if (sName.CaseCmp("AutoCycle") == 0) {
|
||||
pChan->SetAutoCycle((sValue.CaseCmp("true") == 0));
|
||||
if (sValue.CaseCmp("true") == 0) {
|
||||
CUtils::PrintError("WARNING: AutoCycle has been removed, instead try -> LoadModule = autocycle " + pChan->GetName());
|
||||
}
|
||||
continue;
|
||||
} else if (sName.CaseCmp("Key") == 0) {
|
||||
pChan->SetKey(sValue);
|
||||
@@ -1150,9 +1152,6 @@ bool CZNC::DoRehash(CString& sError)
|
||||
} else if (sName.CaseCmp("KeepBuffer") == 0) {
|
||||
pUser->SetKeepBuffer((sValue.CaseCmp("true") == 0));
|
||||
continue;
|
||||
} else if (sName.CaseCmp("AutoCycle") == 0) {
|
||||
pUser->SetAutoCycle((sValue.CaseCmp("true") == 0));
|
||||
continue;
|
||||
} else if (sName.CaseCmp("Nick") == 0) {
|
||||
pUser->SetNick(sValue);
|
||||
continue;
|
||||
@@ -1168,6 +1167,11 @@ bool CZNC::DoRehash(CString& sError)
|
||||
} else if (sName.CaseCmp("AwaySuffix") == 0) {
|
||||
CUtils::PrintMessage("WARNING: AwaySuffix has been depricated, instead try -> LoadModule = awaynick %nick%_" + sValue);
|
||||
continue;
|
||||
} else if (sName.CaseCmp("AutoCycle") == 0) {
|
||||
if (sValue.CaseCmp("true") == 0) {
|
||||
CUtils::PrintError("WARNING: AutoCycle has been removed, instead try -> LoadModule = autocycle");
|
||||
}
|
||||
continue;
|
||||
} else if (sName.CaseCmp("Pass") == 0) {
|
||||
// There are different formats for this available:
|
||||
// Pass = <plain text>
|
||||
|
||||
Reference in New Issue
Block a user