mirror of
https://github.com/znc/znc.git
synced 2026-07-03 08:21:57 +02:00
Fix #759 - channels cannot be reattached
This was a regression caused by aed1d61 :(
This commit is contained in:
+1
-3
@@ -133,10 +133,8 @@ void CChan::JoinUser(const CString& sKey) {
|
||||
if (!sKey.empty()) {
|
||||
SetKey(sKey);
|
||||
}
|
||||
if (!IsOn() || !IsDetached()) {
|
||||
if (!IsOn()) {
|
||||
m_pNetwork->PutIRC("JOIN " + GetName() + " " + GetKey());
|
||||
SetDetached(false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user