summary refs log tree commit diff stats
path: root/plugins/upd
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-10-21 01:55:12 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-10-21 01:55:12 +0200
commit6263278707993a43770ca0bcc2c6ee58b2f862d8 (patch)
treeec1f77d501b7b93ba7b77ed023cfd6e4a0d1a036 /plugins/upd
parent1998ef6cc7f321dfdf189021d7aa2557411cc5d8 (diff)
make update checker available via gui
Diffstat (limited to 'plugins/upd')
-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;
 }