diff --git a/include/modules/ldap.h b/include/modules/ldap.h index b1589a18c..166e85fe9 100644 --- a/include/modules/ldap.h +++ b/include/modules/ldap.h @@ -8,7 +8,7 @@ #pragma once -class CoreExport LDAPException : public ModuleException +class DllExport LDAPException : public ModuleException { public: LDAPException(const Anope::string &reason) : ModuleException(reason) { } diff --git a/include/modules/sql.h b/include/modules/sql.h index 8eaf56c9a..0f2abc812 100644 --- a/include/modules/sql.h +++ b/include/modules/sql.h @@ -81,7 +81,7 @@ namespace SQL /** A SQL exception, can be thrown at various points */ - class CoreExport Exception : public ModuleException + class DllExport Exception : public ModuleException { public: Exception(const Anope::string &reason) : ModuleException(reason) { }