Fix PartyLine so that forced channels may not be left at all - users will be rejoined at once.

This commit is contained in:
md_5
2013-02-23 18:31:10 +11:00
parent f32db92e6d
commit 9f4d2ffa1f

View File

@@ -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);