Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2005-08-15 23:23:00 UTC
Modified files:
ChangeLog include/supported.h ircd/IPcheck.c ircd/channel.c
ircd/convert-conf.c ircd/listener.c
Log message:
Minor code and output cleanups for the week of 2005-08-15.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.670 ircu2.10/ChangeLog:1.671
--- ircu2.10/ChangeLog:1.670 Fri Aug 12 16:54:37 2005
+++ ircu2.10/ChangeLog Mon Aug 15 16:22:50 2005
@@ -1,3 +1,17 @@
+2005-08-15 Michael Poole <[EMAIL PROTECTED]>
+
+ * include/supported.h (FEATURESVALUES2): Add +d channel mode.
+
+ * ircd/IPcheck.c (ip_registry_new_entry): Clarify that this is not
+ a varadic function. (Suggested by Ian Kumlien.)
+
+ * ircd/convert-conf.c (finish_operators): Likewise.
+
+ * ircd/listener.c (close_listeners): Likewise.
+
+ * ircd/channel.c (CheckDelayedJoins): Use HIS server name to
+ remove channel mode +d.
+
2005-08-12 Michael Poole <[EMAIL PROTECTED]>
* ircd/channel.c (pretty_mask): Recognize ':' as unique to the
Index: ircu2.10/include/supported.h
diff -u ircu2.10/include/supported.h:1.19 ircu2.10/include/supported.h:1.20
--- ircu2.10/include/supported.h:1.19 Mon Jul 11 19:47:07 2005
+++ ircu2.10/include/supported.h Mon Aug 15 16:22:50 2005
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: supported.h,v 1.19 2005/07/12 02:47:07 entrope Exp $
+ * $Id: supported.h,v 1.20 2005/08/15 23:22:50 entrope Exp $
*
* Description: This file has the featureset that ircu announces on connecting
* a client. It's in this .h because it's likely to be appended
@@ -64,7 +64,7 @@
feature_int(FEAT_CHANNELLEN), CHANNELLEN
#define FEATURESVALUES2 (feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#"),
"(ov)@+", "@+", \
- (feature_bool(FEAT_OPLEVELS) ? "b,AkU,l,imnpstrD" :
"b,k,l,imnpstrD"), \
+ (feature_bool(FEAT_OPLEVELS) ? "b,AkU,l,imnpstrDd" :
"b,k,l,imnpstrDd"), \
"rfc1459", feature_str(FEAT_NETWORK)
#endif /* INCLUDED_supported_h */
Index: ircu2.10/ircd/IPcheck.c
diff -u ircu2.10/ircd/IPcheck.c:1.39 ircu2.10/ircd/IPcheck.c:1.40
--- ircu2.10/ircd/IPcheck.c:1.39 Mon May 30 06:11:55 2005
+++ ircu2.10/ircd/IPcheck.c Mon Aug 15 16:22:50 2005
@@ -18,7 +18,7 @@
*/
/** @file
* @brief Code to count users connected from particular IP addresses.
- * @version $Id: IPcheck.c,v 1.39 2005/05/30 13:11:55 entrope Exp $
+ * @version $Id: IPcheck.c,v 1.40 2005/08/15 23:22:50 entrope Exp $
*/
#include "config.h"
@@ -160,7 +160,7 @@
* For members that have a sensible default value, that is used.
* @return Newly allocated registry entry.
*/
-static struct IPRegistryEntry* ip_registry_new_entry()
+static struct IPRegistryEntry* ip_registry_new_entry(void)
{
struct IPRegistryEntry* entry = freeList;
if (entry)
Index: ircu2.10/ircd/channel.c
diff -u ircu2.10/ircd/channel.c:1.139 ircu2.10/ircd/channel.c:1.140
--- ircu2.10/ircd/channel.c:1.139 Fri Aug 12 16:54:37 2005
+++ ircu2.10/ircd/channel.c Mon Aug 15 16:22:50 2005
@@ -19,7 +19,7 @@
*/
/** @file
* @brief Channel management and maintenance
- * @version $Id: channel.c,v 1.139 2005/08/12 23:54:37 entrope Exp $
+ * @version $Id: channel.c,v 1.140 2005/08/15 23:22:50 entrope Exp $
*/
#include "config.h"
@@ -3531,7 +3531,7 @@
if (!memb2) {
/* clear +d */
chan->mode.mode &= ~MODE_WASDELJOINS;
- sendcmdto_channel_butserv_butone(&me, CMD_MODE, chan, NULL, 0,
+ sendcmdto_channel_butserv_butone(&his, CMD_MODE, chan, NULL, 0,
"%H -d", chan);
}
}
Index: ircu2.10/ircd/convert-conf.c
diff -u ircu2.10/ircd/convert-conf.c:1.1 ircu2.10/ircd/convert-conf.c:1.2
--- ircu2.10/ircd/convert-conf.c:1.1 Sun Jul 3 19:27:16 2005
+++ ircu2.10/ircd/convert-conf.c Mon Aug 15 16:22:50 2005
@@ -368,7 +368,7 @@
operators = oper;
}
-static void finish_operators()
+static void finish_operators(void)
{
struct remapped_feature *remap;
struct operator *oper;
Index: ircu2.10/ircd/listener.c
diff -u ircu2.10/ircd/listener.c:1.27 ircu2.10/ircd/listener.c:1.28
--- ircu2.10/ircd/listener.c:1.27 Tue Dec 28 14:35:37 2004
+++ ircu2.10/ircd/listener.c Mon Aug 15 16:22:50 2005
@@ -18,7 +18,7 @@
*/
/** @file
* @brief Implementation for handling listening sockets.
- * @version $Id: listener.c,v 1.27 2004/12/28 22:35:37 entrope Exp $
+ * @version $Id: listener.c,v 1.28 2005/08/15 23:22:50 entrope Exp $
*/
#include "config.h"
@@ -330,7 +330,7 @@
}
/** Close all inactive listeners. */
-void close_listeners()
+void close_listeners(void)
{
struct Listener* listener;
struct Listener* listener_next = 0;
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches