summaryrefslogtreecommitdiff
path: root/src/modules/m_sslmodes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_sslmodes.cpp')
-rw-r--r--src/modules/m_sslmodes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sslmodes.cpp b/src/modules/m_sslmodes.cpp
index 7638d42ca..a607f079e 100644
--- a/src/modules/m_sslmodes.cpp
+++ b/src/modules/m_sslmodes.cpp
@@ -56,7 +56,7 @@ class SSLMode : public ModeHandler
class ModuleSSLModes : public Module
{
- Server *Srv;
+
SSLMode* sslm;
public:
@@ -66,7 +66,7 @@ class ModuleSSLModes : public Module
sslm = new SSLMode(ServerInstance);
- Srv->AddMode(sslm, 'z');
+ ServerInstance->AddMode(sslm, 'z');
}
void Implements(char* List)