summaryrefslogtreecommitdiff
path: root/src/modules/m_sslinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
-rw-r--r--src/modules/m_sslinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp
index cd636c633..1b5a39ba4 100644
--- a/src/modules/m_sslinfo.cpp
+++ b/src/modules/m_sslinfo.cpp
@@ -116,8 +116,8 @@ class ModuleSSLInfo : public Module
CommandSSLInfo cmd;
public:
- ModuleSSLInfo(InspIRCd* Me)
- : Module(Me), cmd(this)
+ ModuleSSLInfo()
+ : cmd(this)
{
ServerInstance->AddCommand(&cmd);
@@ -164,7 +164,7 @@ class ModuleSSLInfo : public Module
if ((pcmd == "OPER") && (validated))
{
- ConfigReader cf(ServerInstance);
+ ConfigReader cf;
char TheHost[MAXBUF];
char TheIP[MAXBUF];
std::string LoginName;