Permalink
Browse files

Fix PartyLine so that forced channels may not be left at all - users …

…will be rejoined at once.
  • Loading branch information...
md-5 committed Feb 23, 2013
1 parent f32db92 commit 9f4d2ffa1fa6f1bb00a14d6c8328244ccf0719bd
Showing with 4 additions and 0 deletions.
  1. +4 −0 modules/partyline.cpp
View
@@ -362,6 +362,10 @@ class CPartylineMod : public CModule {
+ 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);

0 comments on commit 9f4d2ff

Please sign in to comment.