diff options
author | Martin Szulecki | 2009-08-07 14:05:17 +0200 |
---|---|---|
committer | Martin Szulecki | 2009-08-08 14:23:28 +0200 |
commit | 2f56e390f04fe6975b75e512c1436ef173e4aafe (patch) | |
tree | 4e187a5cf039a39a1908623b97e0676c6e7cb756 /cgit.c | |
parent | 286a905842dc0bec6d21a614ec4a97c5f19d5bc4 (diff) | |
download | cgit-2f56e390f04fe6975b75e512c1436ef173e4aafe.tar.gz cgit-2f56e390f04fe6975b75e512c1436ef173e4aafe.tar.bz2 cgit-2f56e390f04fe6975b75e512c1436ef173e4aafe.zip |
Introduce noplainemail option to hide email adresses from spambots
Signed-off-by: Martin Szulecki <opensuse@sukimashita.com>
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -51,6 +51,8 @@ void config_cb(const char *name, const char *value) | |||
51 | ctx.cfg.virtual_root = ""; | 51 | ctx.cfg.virtual_root = ""; |
52 | } else if (!strcmp(name, "nocache")) | 52 | } else if (!strcmp(name, "nocache")) |
53 | ctx.cfg.nocache = atoi(value); | 53 | ctx.cfg.nocache = atoi(value); |
54 | else if (!strcmp(name, "noplainemail")) | ||
55 | ctx.cfg.noplainemail = atoi(value); | ||
54 | else if (!strcmp(name, "noheader")) | 56 | else if (!strcmp(name, "noheader")) |
55 | ctx.cfg.noheader = atoi(value); | 57 | ctx.cfg.noheader = atoi(value); |
56 | else if (!strcmp(name, "snapshots")) | 58 | else if (!strcmp(name, "snapshots")) |