X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/c99dcaf6a0f9c7798580fc9f315d7b368c9f972c..964a842d8f29eb5767e64d2028a36cc40ccec911:/src/chanserv.h diff --git a/src/chanserv.h b/src/chanserv.h index d8879f3..b4dfccb 100644 --- a/src/chanserv.h +++ b/src/chanserv.h @@ -5,7 +5,7 @@ * * x3 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -98,6 +98,7 @@ struct chanData char *registrar; char *topic_mask; + unsigned int maxsetinfo; unsigned int flags : 30; unsigned int may_opchan : 1; unsigned int max; @@ -138,6 +139,9 @@ struct userData char *info; time_t seen; time_t expires; + time_t accessexpiry; + time_t clvlexpiry; + unsigned short lastaccess; unsigned short access; unsigned int present : 1; unsigned int flags : USER_FLAGS_SIZE; @@ -222,6 +226,7 @@ char* user_level_name_from_level(int level); void process_adduser_pending(struct userNode *user); void wipe_adduser_pending(struct chanNode *channel, struct userNode *user); -int check_bans(struct userNode *user, char *channel); +int check_bans(struct userNode *user, const char *channel); +int trace_check_bans(struct userNode *user, struct chanNode *chan); #endif