Browse Source

Merge pull request #354 from slingamn/issue353

don't send the client its own on-join MODE line
tags/v1.0.0-rc1
Daniel Oaks 5 years ago
parent
commit
fef58bb935
No account linked to committer's email address
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      irc/channel.go

+ 0
- 4
irc/channel.go View File

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

Loading…
Cancel
Save