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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c
index c299c4e6..ed1ad854 100644
--- a/plugins/upd/upd.c
+++ b/plugins/upd/upd.c
@@ -34,7 +34,7 @@ static hexchat_plugin *ph;   /* plugin handle */
 static char name[] = "Update Checker";
 static char desc[] = "Check for HexChat updates automatically";
 static char version[] = "4.0";
-static const char upd_help[] = "Update Checker Usage:\n  /UPDCHK, check for HexChat updates\n  /UPDCHK SET delay|format, set startup delay or check frequency\n";
+static const char upd_help[] = "Update Checker Usage:\n  /UPDCHK, check for HexChat updates\n  /UPDCHK SET delay|freq, set startup delay or check frequency\n";
 
 static char*
 check_version ()
@@ -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);
 		}