summaryrefslogtreecommitdiff
path: root/src/modules/m_knock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_knock.cpp')
-rw-r--r--src/modules/m_knock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index 70480e188..a725844b7 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -103,7 +103,7 @@ class ModuleKnock : public Module
cmd_knock* mycommand;
Knock* kn;
public:
- ModuleKnock(InspIRCd* Me) : Module::Module(Me)
+ ModuleKnock(InspIRCd* Me) : Module(Me)
{
kn = new Knock(ServerInstance);
@@ -150,7 +150,7 @@ class ModuleKnockFactory : public ModuleFactory
};
-extern "C" void * init_module( void )
+extern "C" DllExport void * init_module( void )
{
return new ModuleKnockFactory;
}