summaryrefslogtreecommitdiff
path: root/src/modules/m_silence_ext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_silence_ext.cpp')
-rw-r--r--src/modules/m_silence_ext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_silence_ext.cpp b/src/modules/m_silence_ext.cpp
index e58e626c7..8b7ac9fbe 100644
--- a/src/modules/m_silence_ext.cpp
+++ b/src/modules/m_silence_ext.cpp
@@ -243,7 +243,7 @@ class ModuleSilence : public Module
public:
ModuleSilence(InspIRCd* Me)
- : Module::Module(Me), maxsilence(32)
+ : Module(Me), maxsilence(32)
{
OnRehash(NULL, "");
mycommand = new cmd_silence(ServerInstance,maxsilence);
@@ -393,7 +393,7 @@ class ModuleSilenceFactory : public ModuleFactory
};
-extern "C" void * init_module( void )
+extern "C" DllExport void * init_module( void )
{
return new ModuleSilenceFactory;
}