Browse Source

don't send the client its own on-join MODE line

Fixes #353.
tags/v1.0.0-rc1
Shivaram Lingamneni 5 years ago
parent
commit
20b8ba8cae
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      irc/channel.go

+ 0
- 4
irc/channel.go View File

461
 
461
 
462
 	channel.Names(client, rb)
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
 	// TODO #259 can be implemented as Flush(false) (i.e., nonblocking) while holding joinPartMutex
464
 	// TODO #259 can be implemented as Flush(false) (i.e., nonblocking) while holding joinPartMutex
469
 	rb.Flush(true)
465
 	rb.Flush(true)
470
 
466
 

Loading…
Cancel
Save