summaryrefslogtreecommitdiff
path: root/src/modules/m_blockcaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_blockcaps.cpp')
-rw-r--r--src/modules/m_blockcaps.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp
index 76d535380..c23fbe741 100644
--- a/src/modules/m_blockcaps.cpp
+++ b/src/modules/m_blockcaps.cpp
@@ -60,9 +60,9 @@ class ModuleBlockCAPS : public Module
BlockCaps* bc;
public:
- ModuleBlockCAPS(Server* Me) : Module::Module(Me)
+ ModuleBlockCAPS(InspIRCd* Me) : Module::Module(Me)
{
- Srv = Me;
+
bc = new BlockCaps(ServerInstance);
Srv->AddMode(bc, 'P');
}
@@ -129,7 +129,7 @@ class ModuleBlockCAPSFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleBlockCAPS(Me);
}