summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--plugins/upd/upd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c
index 080928df..b526ba0b 100644
--- a/plugins/upd/upd.c
+++ b/plugins/upd/upd.c
@@ -93,9 +93,11 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi
 
 	*plugin_name = "Update Checker";
 	*plugin_desc = "Plugin for checking for XChat-WDK updates";
-	*plugin_version = "1.0";
+	*plugin_version = "1.1";
 
 	xchat_hook_command (ph, "UPDCHK", XCHAT_PRI_NORM, print_version, 0, 0);
+	xchat_command (ph, "MENU ADD \"Help/Check for updates\" \"UPDCHK\"");
+
 	xchat_print (ph, "Update Checker plugin loaded\n");
 	print_version ();
 
@@ -105,6 +107,7 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi
 int
 xchat_plugin_deinit (void)
 {
+	xchat_command(ph, "MENU DEL \"Help/Check for updates\"");
 	xchat_print (ph, "Update Checker plugin unloaded\n");
 	return 1;
 }