diff options
Diffstat (limited to 'src/modules/m_sslmodes.cpp')
-rw-r--r-- | src/modules/m_sslmodes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_sslmodes.cpp b/src/modules/m_sslmodes.cpp index bc4679fd7..7638d42ca 100644 --- a/src/modules/m_sslmodes.cpp +++ b/src/modules/m_sslmodes.cpp @@ -60,10 +60,10 @@ class ModuleSSLModes : public Module SSLMode* sslm; public: - ModuleSSLModes(Server* Me) + ModuleSSLModes(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + sslm = new SSLMode(ServerInstance); Srv->AddMode(sslm, 'z'); @@ -122,7 +122,7 @@ class ModuleSSLModesFactory : public ModuleFactory { } - virtual Module* CreateModule(Server* Me) + virtual Module* CreateModule(InspIRCd* Me) { return new ModuleSSLModes(Me); } |