]> jfr.im git - solanum.git/blobdiff - include/channel.h
Add BlindSight to the credits
[solanum.git] / include / channel.h
index 496d8e25189209a3931d5ec42bcb1e2bdccb9461..9069296e1228a3994e03e23e33a9b3dd971d9174 100644 (file)
@@ -31,6 +31,8 @@
 #define MAXMODEPARAMS   4
 #define MAXMODEPARAMSSERV 10
 
+#include <setup.h>
+
 struct Client;
 
 /* mode structure for channels */
@@ -71,7 +73,7 @@ struct Channel
        unsigned int join_count;  /* joins within delta */
        unsigned int join_delta;  /* last ts of join */
 
-       unsigned long bants;
+       time_t bants;
        time_t channelts;
        char *chname;
 
@@ -91,7 +93,7 @@ struct membership
        struct Client *client_p;
        unsigned int flags;
 
-       unsigned long bants;
+       time_t bants;
 };
 
 #define BANLEN 195
@@ -258,7 +260,7 @@ void resv_chan_forcepart(const char *name, const char *reason, int temp_time);
 extern void set_channel_mode(struct Client *client_p, struct Client *source_p,
                struct Channel *chptr, struct membership *msptr, int parc, const char *parv[]);
 extern void set_channel_mlock(struct Client *client_p, struct Client *source_p,
-               struct Channel *chptr, const char *newmlock, int propagate);
+               struct Channel *chptr, const char *newmlock, bool propagate);
 
 extern struct ChannelMode chmode_table[256];