From 31297031119aa50cf4fb241be1aa7f917786e686 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Sat, 16 Apr 2011 19:48:59 +0200 Subject: [PATCH] update the update checker plugin according to google code hosting changes, preserve the file in default branch for a while for compatibility reasons --- plugins/upd/upd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c index 001cd9d2..a3a6acc4 100644 --- a/plugins/upd/upd.c +++ b/plugins/upd/upd.c @@ -42,7 +42,7 @@ check_version () return "Unknown"; } - hFile = InternetOpenUrl (hINet, "http://xchat-wdk.googlecode.com/hg/version.txt", NULL, 0, 0, 0); + hFile = InternetOpenUrl (hINet, "http://xchat-wdk.googlecode.com/hg/version.txt?r=wdk", NULL, 0, 0, 0); if (hFile) { @@ -91,7 +91,7 @@ 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.2"; + *plugin_version = "1.3"; xchat_hook_command (ph, "UPDCHK", XCHAT_PRI_NORM, print_version, 0, 0); xchat_command (ph, "MENU -ietc\\download.png ADD \"Help/Check for Updates\" \"UPDCHK\"");