]> arthur.barton.de Git - ngircd-alex.git/commit
Don't allow empty channel names ("#") in strict RFC mode.
authorAlexander Barton <alex@barton.de>
Tue, 22 Jul 2008 11:22:54 +0000 (13:22 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 22 Jul 2008 11:24:14 +0000 (13:24 +0200)
commitb92a7627f3dc6b85310964d4b602bea2509dade6
treebb49d1569d5494585ce1010a22f9c5cb67a61a0b
parent258143897ca1a4cbc8b97c9691a0cf83b963705a
Don't allow empty channel names ("#") in strict RFC mode.

This closes Bug #88.

Patch proposed by Eric <egrunow@ucsd.edu>, but with wrong length
comparision: please note that Channel_IsValidName() checks the name
INCLUDING the prefix, so the test must be length<=1!
src/ngircd/channel.c