+2005-08-15 Michael Poole <mdpoole@troilus.org>
+
+ * 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 <mdpoole@troilus.org>
* ircd/channel.c (pretty_mask): Recognize ':' as unique to the
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 */
* 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)
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);
}
}
operators = oper;
}
-static void finish_operators()
+static void finish_operators(void)
{
struct remapped_feature *remap;
struct operator *oper;
}
/** Close all inactive listeners. */
-void close_listeners()
+void close_listeners(void)
{
struct Listener* listener;
struct Listener* listener_next = 0;