]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
Merge pull request #1071 from SaberUK/insp20+fix-lusers
[user/henk/code/inspircd.git] / include / modules.h
index 00f2cbb62f45cff1b4e4fd259ff2be2af938d2d6..9857012fcfc0ac1c71793198e15f5b0a902d5e0c 100644 (file)
@@ -116,7 +116,7 @@ struct ModResult {
  * and numerical comparisons in preprocessor macros if they wish to support
  * multiple versions of InspIRCd in one file.
  */
-#define INSPIRCD_VERSION_API 6
+#define INSPIRCD_VERSION_API 9
 
 /**
  * This #define allows us to call a method in all
@@ -1717,7 +1717,8 @@ struct AllModuleList {
                                break; \
                } \
                return TRUE; \
-       }
+       } \
+       extern "C" DllExport const char inspircd_src_version[] = VERSION " r" REVISION;
 
 #else