summaryrefslogtreecommitdiff
path: root/src/modules/m_services_account.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_services_account.cpp')
-rw-r--r--src/modules/m_services_account.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index 19e010b69..648191e3d 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -120,9 +120,9 @@ class ModuleServicesAccount : public Module
AChannel_M* m2;
AUser_R* m3;
public:
- ModuleServicesAccount(Server* Me) : Module::Module(Me)
+ ModuleServicesAccount(InspIRCd* Me) : Module::Module(Me)
{
- Srv = Me;
+
m1 = new AChannel_R(ServerInstance);
m2 = new AChannel_M(ServerInstance);
m3 = new AUser_R(ServerInstance);
@@ -338,7 +338,7 @@ class ModuleServicesAccountFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleServicesAccount(Me);
}