summaryrefslogtreecommitdiff
path: root/src/modules/m_foobar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_foobar.cpp')
-rw-r--r--src/modules/m_foobar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp
index a42275127..cd0b15bd9 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -34,7 +34,7 @@ class ModuleFoobar : public Module
public:
ModuleFoobar(InspIRCd* Me)
- : Module::Module(Me)
+ : Module(Me)
{
// The constructor just makes a copy of the server class
@@ -124,7 +124,7 @@ class ModuleFoobarFactory : public ModuleFactory
// class for this library
//
-extern "C" void * init_module( void )
+extern "C" DllExport void * init_module( void )
{
return new ModuleFoobarFactory;
}