diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-10-21 01:55:12 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-10-21 01:55:12 +0200 |
commit | 6263278707993a43770ca0bcc2c6ee58b2f862d8 (patch) | |
tree | ec1f77d501b7b93ba7b77ed023cfd6e4a0d1a036 | |
parent | 1998ef6cc7f321dfdf189021d7aa2557411cc5d8 (diff) |
make update checker available via gui
-rw-r--r-- | plugins/upd/upd.c | 5 |
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; } |