commit fed197cd524705b4a84ea22bf9578540d2da4856
parent 507bd26628450fcc45fc5118c3211b7d58169087
Author: Emile 'iMil' Heitor <imil@NetBSD.org>
Date: Tue, 18 Jul 2023 11:03:10 +0200
fix: also modify the function call...
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.go b/main.go
@@ -122,7 +122,7 @@ func newsFetch(client *girc.Client, channel string) {
Title: item.Title,
Link: item.Link,
Date: item.PublishedParsed.String(),
- Hash: mkHash(item.Title, item.Link),
+ Hash: mkHash(item.Link),
}
// Check if item was already posted
if newsExists(news) {