about summary refs log tree commit diff
path: root/cgit.c
diff options
context:
space:
mode:
authorMartin Szulecki <opensuse@sukimashita.com>2009-08-07 14:05:17 +0200
committerMartin Szulecki <opensuse@sukimashita.com>2009-08-08 14:23:28 +0200
commit2f56e390f04fe6975b75e512c1436ef173e4aafe (patch)
tree4e187a5cf039a39a1908623b97e0676c6e7cb756 /cgit.c
parentMerge branch 'lh/embedded' (diff)
downloadcgit-pink-2f56e390f04fe6975b75e512c1436ef173e4aafe.tar.gz
cgit-pink-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.c2
1 files changed, 2 insertions, 0 deletions
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"))