mirror of
https://github.com/znc/znc.git
synced 2026-07-06 09:51:25 +02:00
Merge pull request #639 from NuclearW/stickychan-reconnect
stickychan: Don't join channels when not connected.
This commit is contained in:
@@ -103,7 +103,7 @@ public:
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (!pChan->IsOn()) {
|
||||
if (!pChan->IsOn() && m_pNetwork->IsIRCConnected()) {
|
||||
PutModule("Joining [" + pChan->GetName() + "]");
|
||||
PutIRC("JOIN " + pChan->GetName() + (pChan->GetKey().empty()
|
||||
? "" : " " + pChan->GetKey()));
|
||||
|
||||
Reference in New Issue
Block a user