Branch: refs/heads/master Home: https://github.com/ngircd/ngircd Commit: 07cb8ed9ae14307b7b9335faa957baa340632e57 https://github.com/ngircd/ngircd/commit/07cb8ed9ae14307b7b9335faa957baa34063... Author: Alexander Barton alex@barton.de Date: 2020-06-11 (Thu, 11 Jun 2020)
Changed paths: M doc/Commands.txt M src/ngircd/numeric.c
Log Message: ----------- Don't send invalid CHANINFO commands when no key is set
It can happen that a channel is +k, but no key is set: for example by misconfiguring a pre-defined channel. In this case, ngIRCd sent an invalud CHANINFO command ("CHANINFO #test +Pk 0 :'", note the unset key represented by the two spaces) to its peers.
Fix this and enhance the CHANINFO documentation.