diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-06-05 14:16:36 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-06-05 17:47:56 +0100 |
commit | bdc20e81e628a5d630f649b2d01fcfc795ca39ea (patch) | |
tree | c36e16c3b753c42aa1313f481f45f0db50eb0df2 /include | |
parent | 14630f6b4763b34ff96c091c3e55f387862af185 (diff) |
Add support for limited temporary Klines
Diffstat (limited to 'include')
-rw-r--r-- | include/client.h | 1 | ||||
-rw-r--r-- | include/conf.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/client.h b/include/client.h index a983cd5..cd1b4cd 100644 --- a/include/client.h +++ b/include/client.h @@ -210,6 +210,7 @@ struct MaskItem; #define OPER_FLAG_WALLOPS 0x00200000 /**< Oper can do WALLOPS */ #define OPER_FLAG_LOCOPS 0x00400000 /**< Oper can do LOCOPS */ #define OPER_FLAG_UNXLINE 0x00800000 /**< Oper can unxline */ +#define OPER_FLAG_TKLINE 0x01000000 /**< Oper can temp kill/kline */ #define HasOFlag(x, y) (MyConnect(x) ? (x)->localClient->operflags & (y) : 0) diff --git a/include/conf.h b/include/conf.h index f761819..6c05d47 100644 --- a/include/conf.h +++ b/include/conf.h @@ -268,6 +268,7 @@ struct config_file_entry int ping_cookie; int disable_auth; int cycle_on_host_change; + time_t tkline_max; }; struct config_channel_entry |