summaryrefslogtreecommitdiff
path: root/src/modules/m_restrictmsg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_restrictmsg.cpp')
-rw-r--r--src/modules/m_restrictmsg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp
index ce62296ac..e04366b59 100644
--- a/src/modules/m_restrictmsg.cpp
+++ b/src/modules/m_restrictmsg.cpp
@@ -29,7 +29,7 @@ class ModuleRestrictMsg : public Module
public:
ModuleRestrictMsg(InspIRCd* Me)
- : Module::Module(Me)
+ : Module(Me)
{
}
@@ -96,7 +96,7 @@ class ModuleRestrictMsgFactory : public ModuleFactory
};
-extern "C" void * init_module( void )
+extern "C" DllExport void * init_module( void )
{
return new ModuleRestrictMsgFactory;
}