From 2f56e390f04fe6975b75e512c1436ef173e4aafe Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 7 Aug 2009 14:05:17 +0200 Subject: Introduce noplainemail option to hide email adresses from spambots Signed-off-by: Martin Szulecki --- cgit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index 2039ab1..f6bb0c7 100644 --- a/cgit.c +++ b/cgit.c @@ -51,6 +51,8 @@ void config_cb(const char *name, const char *value) ctx.cfg.virtual_root = ""; } else if (!strcmp(name, "nocache")) ctx.cfg.nocache = atoi(value); + else if (!strcmp(name, "noplainemail")) + ctx.cfg.noplainemail = atoi(value); else if (!strcmp(name, "noheader")) ctx.cfg.noheader = atoi(value); else if (!strcmp(name, "snapshots")) -- cgit v1.2.3-59-g8ed1b