mirror of
https://github.com/znc/znc.git
synced 2026-05-07 13:54:47 +02:00
Added option for AutoCycle
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@31 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -18,7 +18,9 @@ void CChan::Joined() {
|
||||
}
|
||||
|
||||
void CChan::Cycle() const {
|
||||
m_pUser->PutIRC("PART " + GetName() + "\r\nJOIN " + GetName() + " " + GetKey());
|
||||
if (AutoCycle()) {
|
||||
m_pUser->PutIRC("PART " + GetName() + "\r\nJOIN " + GetName() + " " + GetKey());
|
||||
}
|
||||
}
|
||||
|
||||
string CChan::GetModeString() const {
|
||||
|
||||
Reference in New Issue
Block a user