From 768042105300ccf4e580e1dc20ae8ea0a3627c25 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 2 Feb 2015 10:39:37 +0100 Subject: [PATCH] Fix #840 - channel hopping/cycling A regression caused by aed1d61. --- src/Chan.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Chan.cpp b/src/Chan.cpp index 210e4e2d..08cb76a5 100644 --- a/src/Chan.cpp +++ b/src/Chan.cpp @@ -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) {