summary refs log tree commit diff stats
path: root/plugins/upd
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/upd')
-rw-r--r--plugins/upd/upd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c
index 89bdcf38..001cd9d2 100644
--- a/plugins/upd/upd.c
+++ b/plugins/upd/upd.c
@@ -70,7 +70,7 @@ print_version ()
 {
 	char *version = check_version ();
 
-	if (strcmp (version, xchat_get_info (ph, "version")) == 0)
+	if (strcmp (version, xchat_get_info (ph, "wdk_version")) == 0)
 	{
 		xchat_printf (ph, "You have the latest version of XChat-WDK installed!\n");
 	}