summaryrefslogtreecommitdiff
path: root/src/modules/m_alias.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_alias.cpp')
-rw-r--r--src/modules/m_alias.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index 9d48b1034..85791b070 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -67,10 +67,10 @@ class ModuleAlias : public Module
public:
- ModuleAlias(Server* Me)
+ ModuleAlias(InspIRCd* Me)
: Module::Module(Me)
{
- Srv = Me;
+
MyConf = new ConfigReader;
ReadAliases();
}
@@ -172,7 +172,7 @@ class ModuleAliasFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleAlias(Me);
}