summary refs log tree commit diff stats
path: root/plugins/upd
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-13 22:27:12 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-13 22:27:12 +0200
commitf61726ba4924e1c67dae9097861a258d20c63f33 (patch)
treee4fcd19cf1a827dd270b7b9f94e802bd00e42c5a /plugins/upd
parente500363aff94526152fe9f3cb0a06959ec4153db (diff)
Remove the last remnants of XChat-WDK
Diffstat (limited to 'plugins/upd')
-rw-r--r--plugins/upd/upd.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c
index da92f2e4..f0ed0a2d 100644
--- a/plugins/upd/upd.c
+++ b/plugins/upd/upd.c
@@ -1,5 +1,5 @@
-/* XChat-WDK
- * Copyright (c) 2010-2011 Berke Viktor.
+/* HexChat
+ * Copyright (c) 2010-2012 Berke Viktor.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -28,7 +28,7 @@
 static xchat_plugin *ph;   /* plugin handle */
 static const char name[] = "Update Checker";
 static const char desc[] = "Check for HexChat updates automatically";
-static const char version[] = "2.1";
+static const char version[] = "3.0";
 
 static char*
 check_version ()
@@ -165,9 +165,9 @@ print_version ()
 	else
 	{
 #ifdef _WIN64 /* use this approach, the wProcessorArchitecture method always returns 0 (=x86) for some reason */
-		xchat_printf (ph, "A HexChat update is available! You can download it from here:\nhttp://xchat-wdk.googlecode.com/files/HexChat%%20%s%%20x64.exe\n", version);
+		xchat_printf (ph, "A HexChat update is available! You can download it from here:\nhttps://github.com/downloads/hexchat/hexchat/HexChat%%20%s%%20x64.exe\n", version);
 #else
-		xchat_printf (ph, "A HexChat update is available! You can download it from here:\nhttp://xchat-wdk.googlecode.com/files/HexChat%%20%s%%20x86.exe\n", version);
+		xchat_printf (ph, "A HexChat update is available! You can download it from here:\nhttps://github.com/downloads/hexchat/hexchat/HexChat%%20%s%%20x86.exe\n", version);
 #endif
 	}
 
@@ -183,9 +183,9 @@ print_version_quiet (void *userdata)
 	if (!(strcmp (version, xchat_get_info (ph, "version")) == 0) && !(strcmp (version, "Unknown") == 0))
 	{
 #ifdef _WIN64 /* use this approach, the wProcessorArchitecture method always returns 0 (=x86) for plugins for some reason */
-		xchat_printf (ph, "A HexChat update is available! You can download it from here:\nhttp://xchat-wdk.googlecode.com/files/HexChat%%20%s%%20x64.exe\n", version);
+		xchat_printf (ph, "A HexChat update is available! You can download it from here:\nhttps://github.com/downloads/hexchat/hexchat/HexChat%%20%s%%20x64.exe\n", version);
 #else
-		xchat_printf (ph, "A HexChat update is available! You can download it from here:\nhttp://xchat-wdk.googlecode.com/files/HexChat%%20%s%%20x86.exe\n", version);
+		xchat_printf (ph, "A HexChat update is available! You can download it from here:\nhttps://github.com/downloads/hexchat/hexchat/HexChat%%20%s%%20x86.exe\n", version);
 #endif
 		/* print update url once, then stop the timer */
 		return 0;