From b3be8e06734c6428376514024af7cabf13774dce Mon Sep 17 00:00:00 2001 From: default Date: Mon, 25 Nov 2024 10:24:47 +0100 Subject: New cmdline ops 'import_list' and 'import_block_list'. --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils.c') diff --git a/utils.c b/utils.c index b0d8193..df3b55d 100644 --- a/utils.c +++ b/utils.c @@ -681,7 +681,7 @@ void import_blocked_accounts_csv(snac *user, const char *fn) while (!feof(f)) { xs *l = xs_strip_i(xs_readline(f)); - if (*l) { + if (*l && strchr(l, '@') != NULL) { xs *url = NULL; xs *uid = NULL; -- cgit v1.2.3