3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-26 13:59:44 +01:00

Merge pull request #354 from slingamn/issue353

don't send the client its own on-join MODE line
This commit is contained in:
Daniel Oaks 2019-02-07 06:37:10 +10:00 committed by GitHub
commit fef58bb935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -461,10 +461,6 @@ func (channel *Channel) Join(client *Client, key string, isSajoin bool, rb *Resp
channel.Names(client, rb)
if givenMode != 0 {
rb.Add(nil, client.server.name, "MODE", chname, modestr, details.nick)
}
// TODO #259 can be implemented as Flush(false) (i.e., nonblocking) while holding joinPartMutex
rb.Flush(true)