From 4a066cbd54a722b2184c7262304e0bd8d353dcc0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 13 Apr 2021 21:18:31 +0200 Subject: Fix: .nobody, not .groups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- add-contact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/add-contact.c b/add-contact.c index 382d1a0..9a72bac 100644 --- a/add-contact.c +++ b/add-contact.c @@ -29,7 +29,7 @@ main(int argc, char *argv[]) } if (id[i - 1] == '~') eprintf("contact-id cannot end with ~\n"); - if (id[0] == '.' && strcmp(id, ".me") && strcmp(id, ".groups")) + if (id[0] == '.' && strcmp(id, ".me") && strcmp(id, ".nobody")) weprintf("it is recommended to only have [a-z0-9-] in contact-id\n"); } -- cgit v1.2.3-70-g09d2