aboutsummaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-11-25 10:24:47 +0100
committerdefault <nobody@localhost>2024-11-25 10:24:47 +0100
commitb3be8e06734c6428376514024af7cabf13774dce (patch)
treef7e655e55c208270e729b9a0fec0ec22f8196282 /utils.c
parent2eff3ffb664d372d68ab2d953466d7ba946c96c2 (diff)
New cmdline ops 'import_list' and 'import_block_list'.
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
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;