mirror of
https://github.com/moparisthebest/hexchat
synced 2024-12-21 07:08:51 -05:00
Update Checker: Ignore invalid length version nums
This commit is contained in:
parent
b274ecca4f
commit
76680ae41b
@ -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);
|
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);
|
hexchat_printf (ph, "%s\tUnable to check for HexChat updates!\n", name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user