summary refs log tree commit diff stats
path: root/plugins/upd/upd.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/upd/upd.c')
-rw-r--r--plugins/upd/upd.c2
1 files changed, 1 insertions, 1 deletions
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);
 		}