*
* This file is part of x3.
*
- * srvx is free software; you can redistribute it and/or modify
+ * 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
* (at your option) any later version.
};
enum levelOption {
- /* TODO: Does removing values here mess up reading the db files? */
- lvlGiveVoice, /* Depreciated */
- lvlGiveHalfOps, /* Depreciated */
- lvlGiveOps, /* Depreciated */
lvlEnfOps,
lvlEnfHalfOps,
lvlEnfModes,
lvlEnfTopic,
lvlPubCmd,
lvlSetters,
- lvlCTCPUsers,
lvlUserInfo,
lvlInviteMe,
lvlTopicSnarf,
};
enum charOption {
- chVoice,
+ chAutomode,
chProtect,
chToys,
chTopicRefresh,
chCTCPReaction,
+ chBanTimeout,
NUM_CHAR_OPTIONS
};
unsigned int may_opchan : 1;
unsigned int max;
unsigned int last_refresh;
- unsigned short banCount;
+ unsigned short banCount; /* Lamers, really */
unsigned short userCount;
unsigned short lvlOpts[NUM_LEVEL_OPTIONS];
unsigned char chOpts[NUM_CHAR_OPTIONS];
struct userData *users;
- struct banData *bans;
+ struct banData *bans; /* Lamers, really */
struct dict *notes;
struct suspended *suspended;
+ struct giveownership *giveownership;
struct chanData *prev;
struct chanData *next;
};
char *info;
time_t seen;
+ time_t expires;
unsigned short access;
unsigned int present : 1;
unsigned int flags : USER_FLAGS_SIZE;
struct suspended *previous;
};
+struct giveownership
+{
+ char *staff_issuer;
+ char *old_owner;
+ char *target;
+ unsigned short target_access;
+ time_t issued;
+ char *reason;
+ struct giveownership *previous;
+};
+
struct do_not_register
{
char chan_name[CHANNELLEN+1];