Module: ngircd.git
Branch: master
Commit: f2fa1045e24f81e5c844dd50d6e299cb1ad9acb2
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=f2fa1045…
Author: Alexander Barton <alex(a)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=f2fa…
Module: ngircd.git
Branch: master
Commit: 7ed08f01efb4e1b0c1aed2de8d9f145604cdfac0
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=7ed08f01…
Author: Alexander Barton <alex(a)barton.de>
Date: Sun Jan 15 19:46:00 2012 +0100
Remove unused prototype of Lists_AlreadyRegistered()
This prototype has been introduced by commit fa7bb279 in 2006,
but as far as I can see, this function never existed ...
---
src/ngircd/lists.h | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/ngircd/lists.h b/src/ngircd/lists.h
index f709f3f..d0b4d81 100644
--- a/src/ngircd/lists.h
+++ b/src/ngircd/lists.h
@@ -1,6 +1,6 @@
/*
* ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001-2011 Alexander Barton (alex(a)barton.de) and Contributors.
+ * Copyright (c)2001-2012 Alexander Barton (alex(a)barton.de) and Contributors.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -37,9 +37,6 @@ GLOBAL bool Lists_Add PARAMS((struct list_head *h, const char *Mask,
time_t ValidUntil, const char *Reason));
GLOBAL void Lists_Del PARAMS((struct list_head *head, const char *Mask));
-GLOBAL bool Lists_AlreadyRegistered PARAMS((const struct list_head *head,
- const char *Mask));
-
GLOBAL void Lists_Free PARAMS((struct list_head *head));
GLOBAL const char *Lists_MakeMask PARAMS((const char *Pattern));