1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-22 17:22:18 -05:00

update the update checker to use our shiny new git repo

This commit is contained in:
Berke Viktor 2011-08-09 14:05:57 +02:00
parent 1e74680172
commit 162fc1ead3

View File

@ -42,7 +42,7 @@ check_version ()
return "Unknown"; return "Unknown";
} }
hFile = InternetOpenUrl (hINet, "http://xchat-wdk.googlecode.com/hg/version.txt?r=wdk", NULL, 0, 0, 0); hFile = InternetOpenUrl (hINet, "http://xchat-wdk.googlecode.com/git/version.txt?r=wdk", NULL, 0, 0, 0);
if (hFile) if (hFile)
{ {
@ -91,7 +91,7 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi
*plugin_name = "Update Checker"; *plugin_name = "Update Checker";
*plugin_desc = "Plugin for checking for XChat-WDK updates"; *plugin_desc = "Plugin for checking for XChat-WDK updates";
*plugin_version = "1.3"; *plugin_version = "1.4";
xchat_hook_command (ph, "UPDCHK", XCHAT_PRI_NORM, print_version, 0, 0); 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\""); xchat_command (ph, "MENU -ietc\\download.png ADD \"Help/Check for Updates\" \"UPDCHK\"");