From 74cd356be8ba270c76202c7c55b5b07ab4bfd22c Mon Sep 17 00:00:00 2001 From: default Date: Wed, 8 Jan 2025 20:06:17 +0100 Subject: Deleted useless check. --- html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html.c') diff --git a/html.c b/html.c index 294faa3..7e3d281 100644 --- a/html.c +++ b/html.c @@ -2209,7 +2209,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, if (xs_type(o_href) == XSTYPE_STRING) { xs *href = xs_utf8_to_lower(o_href); - if (xs_type(href) == XSTYPE_STRING && xs_str_in(content, href) == -1) { + if (xs_str_in(content, href) == -1) { /* not in the content: add here */ const char *name = xs_dict_get(tag, "name"); -- cgit v1.2.3