diff options
author | TingPing <tingping@tingping.se> | 2012-12-17 20:48:02 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2012-12-17 20:48:02 -0500 |
commit | 76680ae41b34f15df59817dea1d163548b9a2d58 (patch) | |
tree | 8ca78d435f7dfc190aea110c272de06f2e06af01 | |
parent | b274ecca4fa3ff497dda64c35a0469eeb47aae89 (diff) |
Update Checker: Ignore invalid length version nums
-rw-r--r-- | plugins/upd/upd.c | 2 |
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); } |