Module: ngircd.git Branch: master Commit: f2fa1045e24f81e5c844dd50d6e299cb1ad9acb2 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=f2fa1...
Author: Alexander Barton alex@barton.de Date: Sat Jan 21 19:59:57 2012 +0100
Implement channel exception list (mode 'e')
This allows a channel operator to define exception masks that allow users to join the channel even when a "ban" would match and prevent them from joining: the exception list (e) overrides the ban list (b).
---
src/ngircd/channel.c | 47 +++++++++++++++++++++++++++++++++++++++++++-- src/ngircd/channel.h | 11 +++++++-- src/ngircd/defines.h | 2 +- src/ngircd/irc-channel.c | 5 ++- src/ngircd/irc-mode.c | 32 ++++++++++++++++++++++++------ src/ngircd/messages.h | 6 +++- 6 files changed, 85 insertions(+), 18 deletions(-)
Diff: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commitdiff;h=f...