mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-14 07:59:31 +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:
commit
fef58bb935
@ -461,10 +461,6 @@ func (channel *Channel) Join(client *Client, key string, isSajoin bool, rb *Resp
|
|||||||
|
|
||||||
channel.Names(client, rb)
|
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
|
// TODO #259 can be implemented as Flush(false) (i.e., nonblocking) while holding joinPartMutex
|
||||||
rb.Flush(true)
|
rb.Flush(true)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user