mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Don't send a MODE request when JOINing
Since commit 1a1cc4c756, we'd always send a "MODE #chan" to IRC when we
received a "JOIN #chan". It used to work before that commit, because the mode
reply which is automatically sent on join is sent before the "end of /names"
numeric.
This just removes that MODE request. Proper IRC server should always send a MODE
reply on channel join.
Thanks to nyuszika7h`` for the report.
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@@ -444,8 +444,6 @@ void CIRCSock::ReadLine(const CString& sData) {
|
||||
pChan->ResetJoinTries();
|
||||
pChan->Enable();
|
||||
pChan->SetIsOn(true);
|
||||
PutIRC("MODE " + pChan->GetName());
|
||||
|
||||
}
|
||||
} else {
|
||||
pChan = m_pUser->FindChan(sChan);
|
||||
|
||||
Reference in New Issue
Block a user