1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-02-01 18:19:09 +00:00
ngircd/src
Alexander Barton 8ae2cdfce9 Send "fake '*' key" in "MODE -k" replies
According to RFC 2812 3.2.3 "Channel mode message" and the examples
there, it looks like clients should use "MODE -k <key>" to unset channel
keys; and that's how other servers and services behave and do expect it.

(But please note that this is NOT the case for "MODE -l"!)

In the end, it doesn't make sense to specify a key when UNsetting it at
all, and different services behave diffrently when clients do not send
the currently set key to unset it - some ignore such calls, for example!

But this implementation is quite relaxed, it accepts any key when
unsetting channel mode "k" and even accepts no key at all. But the reply
will always include an "*" character for every "-k" parameter.
2014-01-08 14:24:03 +01:00
..
ipaddr Check for working getaddrinfo() function 2013-12-27 21:35:13 +01:00
ngircd Send "fake '*' key" in "MODE -k" replies 2014-01-08 14:24:03 +01:00
portab Support non-standard vsnprintf() return code 2014-01-04 23:57:05 +01:00
testsuite getpid.sh: use /bin/pidof when available 2013-09-03 21:33:22 +02:00
tool Add support for arc4random 2013-10-16 16:32:06 +01:00
.gitignore GIT: added src/src/config.h.in~ to ignore list. 2008-06-11 16:02:06 +02:00
Makefile.am IPv6 support. 2008-02-26 23:50:35 +01:00