X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/e78f68507356cd9f9a5bf9c03c9db61a7d00b9f4..157c1f04bd3b04cbdcef5efb3cb280d0e10f1e7f:/include/s_conf.h?ds=sidebyside diff --git a/include/s_conf.h b/include/s_conf.h index ae87cf7..4dbdd60 100644 --- a/include/s_conf.h +++ b/include/s_conf.h @@ -69,6 +69,7 @@ struct ConfItem char *user; /* user part of user@host */ int port; time_t hold; /* Hold action until this time (calendar time) */ + time_t created; /* Creation time (for klines etc) */ char *className; /* Name of class */ struct Class *c_class; /* Class of connection */ rb_patricia_node_t *pnode; /* Our patricia node */ @@ -189,6 +190,7 @@ struct config_file_entry int pace_wait_simple; int short_motd; int no_oper_flood; + int true_no_oper_flood; int hide_server; int hide_spoof_ips; int hide_error_messages; @@ -347,6 +349,7 @@ extern struct ConfItem *find_tkline(const char *, const char *, struct sockaddr extern char *show_iline_prefix(struct Client *, struct ConfItem *, char *); extern void get_printable_conf(struct ConfItem *, char **, char **, char **, char **, int *, char **); +extern char *get_user_ban_reason(struct ConfItem *aconf); extern void get_printable_kline(struct Client *, struct ConfItem *, char **, char **, char **, char **);