mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01: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);
|
||||
}
|
||||
|
||||
if (m_ssDefaultChans.find(pChannel->GetName()) != m_ssDefaultChans.end()) {
|
||||
JoinUser(pUser, pChannel);
|
||||
}
|
||||
|
||||
if (ssNicks.empty()) {
|
||||
delete pChannel;
|
||||
m_ssChannels.erase(pChannel);
|
||||
|
||||
Reference in New Issue
Block a user