mirror of
https://github.com/znc/znc.git
synced 2026-08-11 11:23:18 +02:00
Fix PartyLine so that forced channels may not be left at all - users will be rejoined at once.
This commit is contained in:
@@ -362,6 +362,10 @@ public:
|
|||||||
+ sCmd + pChannel->GetName() + sMsg, false, true, pUser);
|
+ sCmd + pChannel->GetName() + sMsg, false, true, pUser);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_ssDefaultChans.find(pChannel->GetName()) != m_ssDefaultChans.end()) {
|
||||||
|
JoinUser(pUser, pChannel);
|
||||||
|
}
|
||||||
|
|
||||||
if (ssNicks.empty()) {
|
if (ssNicks.empty()) {
|
||||||
delete pChannel;
|
delete pChannel;
|
||||||
m_ssChannels.erase(pChannel);
|
m_ssChannels.erase(pChannel);
|
||||||
|
|||||||
Reference in New Issue
Block a user