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:
parent
4950155eb6
commit
3129703111
|
@ -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\"");
|
||||
|
|
Loading…
Reference in New Issue