From 76680ae41b34f15df59817dea1d163548b9a2d58 Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 17 Dec 2012 20:48:02 -0500 Subject: [PATCH] Update Checker: Ignore invalid length version nums --- plugins/upd/upd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c index 74f53604..ed1ad854 100644 --- a/plugins/upd/upd.c +++ b/plugins/upd/upd.c @@ -220,7 +220,7 @@ print_version (char *word[], char *word_eol[], void *userdata) { hexchat_printf (ph, "%s\tYou have the latest version of HexChat installed!\n", name); } - else if (strcmp (version, "Unknown") == 0) + else if (strcmp (version, "Unknown") == 0 || strlen (version) != 5) { hexchat_printf (ph, "%s\tUnable to check for HexChat updates!\n", name); }