]> arthur.barton.de Git - ngircd.git/commitdiff
channel: always reject zero-length channel key
authorFlorian Westphal <fw@strlen.de>
Mon, 28 Feb 2011 20:09:47 +0000 (21:09 +0100)
committerFlorian Westphal <fw@strlen.de>
Mon, 28 Feb 2011 22:28:24 +0000 (23:28 +0100)
previously, any client could join in this configuration:

[Channel]
  Name = #test
  Modes = tnk
  KeyFile = /tmp/foobar

fix this by checking for zero-length key before comparing
key to channel key.


No differences found