1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 03:02:17 -05:00

update the update checker plugin according to google code hosting changes, preserve the file in default branch for a while for compatibility reasons

This commit is contained in:
berkeviktor@aol.com 2011-04-16 19:48:59 +02:00
parent 4950155eb6
commit 3129703111

View File

@ -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\"");