summary refs log tree commit diff stats
path: root/src/common/plugin.c
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-02-28 18:59:32 +0100
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-02-28 18:59:32 +0100
commitd03d6e606b40157d910ddf99ab018156abeb8ef0 (patch)
tree1f2b148661fb688ae0863b361e49f19672dbe685 /src/common/plugin.c
parentad7ea4b77e059880ef8f7cb05fe2aa2cdcc217fb (diff)
add wdk changes to named branch
Diffstat (limited to 'src/common/plugin.c')
-rw-r--r--src/common/plugin.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c
index ada4d3be..b40660a1 100644
--- a/src/common/plugin.c
+++ b/src/common/plugin.c
@@ -34,7 +34,7 @@
 #include "text.h"
 #define PLUGIN_C
 typedef struct session xchat_context;
-#include "xchat-plugin.h"
+#include "../../plugins/xchat-plugin.h"
 #include "plugin.h"
 
 
@@ -996,13 +996,16 @@ xchat_get_info (xchat_plugin *ph, const char *id)
 		return XCHATLIBDIR;
 
 	case 0x14f51cd8: /* version */
-		return PACKAGE_VERSION;
+		return XCHAT_RELEASE;
 
 	case 0xdd9b1abd:	/* xchatdir */
 		return get_xdir_utf8 ();
 
 	case 0xe33f6c4a:	/* xchatdirfs */
 		return get_xdir_fs ();
+
+	case 0x3d1e70d7:	/* wdk_version */
+		return PACKAGE_VERSION;
 	}
 
 	sess = ph->context;