diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-11-24 11:30:38 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-11-24 11:30:38 +0100 |
commit | eb6115d4ca66aa440c760a72b9427c0d2a49fbb5 (patch) | |
tree | 88f8d8639bfce1682f20ad30c356ff2e000e9173 /FICS | |
parent | 35292ae7b460f03262f403bad1aced20b8af4995 (diff) |
Added variable 'seek'
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/variable.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/FICS/variable.c b/FICS/variable.c index c07bdd2..9b129bc 100644 --- a/FICS/variable.c +++ b/FICS/variable.c @@ -124,6 +124,22 @@ set_ropen(int p, char *var, char *val) return VAR_OK; } +/* + * If your 'seek' variable is non-zero (whether a number, 'true' or + * 'on'), you will be informed of "seek" ads when they are made. zero + * ('false' or 'off'), you will not receive these announcements. For + * example, to receive ads, type "set seek 1". To stop receiving ads, + * type "set seek 0". + */ +PRIVATE int +set_seek(int p, char *var, char *val) +{ + UNUSED_PARAM(p); + UNUSED_PARAM(var); + UNUSED_PARAM(val); + return VAR_OK; +} + PRIVATE int set_rated(int p, char *var, char *val) { @@ -886,6 +902,7 @@ PUBLIC var_list variables[] = { {"prompt", set_prompt}, {"rated", set_rated}, {"ropen", set_ropen}, + {"seek", set_seek}, {"shout", set_shout}, {"simopen", set_sopen}, {"style", set_style}, |