mirror of
https://github.com/znc/znc.git
synced 2026-08-12 11:52:57 +02:00
Fix #759 - channels cannot be reattached
This was a regression caused by aed1d61 :(
This commit is contained in:
@@ -211,7 +211,7 @@ public:
|
||||
// Now check for a positive match
|
||||
for (it = m_vMatches.begin(); it != m_vMatches.end(); ++it) {
|
||||
if (!it->IsNegated() && it->IsMatch(sChan, sHost, sMessage)) {
|
||||
Channel.JoinUser();
|
||||
Channel.AttachUser();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ public:
|
||||
}
|
||||
// No buffer playback, makes sense, doesn't it?
|
||||
pChan->ClearBuffer();
|
||||
pChan->JoinUser();
|
||||
pChan->AttachUser();
|
||||
}
|
||||
|
||||
Limits::iterator it2 = it++;
|
||||
|
||||
Reference in New Issue
Block a user