]> jfr.im git - irc/evilnet/znc.git/commitdiff
Fix #840 - channel hopping/cycling
authorJ-P Nurmi <redacted>
Mon, 2 Feb 2015 09:39:37 +0000 (10:39 +0100)
committerJ-P Nurmi <redacted>
Mon, 2 Feb 2015 09:41:13 +0000 (10:41 +0100)
A regression caused by aed1d61.

src/Chan.cpp

index 210e4e2dd6992a9186bae58e856cdd7dd1b7ca23..08cb76a5194e9265ac2b6d8229f417eeb2816e77 100644 (file)
@@ -133,9 +133,7 @@ void CChan::JoinUser(const CString& sKey) {
        if (!sKey.empty()) {
                SetKey(sKey);
        }
-       if (!IsOn()) {
-               m_pNetwork->PutIRC("JOIN " + GetName() + " " + GetKey());
-       }
+       m_pNetwork->PutIRC("JOIN " + GetName() + " " + GetKey());
 }
 
 void CChan::AttachUser(CClient* pClient) {