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:
prozacx
2004-11-07 04:28:16 +00:00
parent 95e76bb1d1
commit 67f4a73f4b
4 changed files with 23 additions and 1 deletions
+3 -1
View File
@@ -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 {