summaryrefslogtreecommitdiff
path: root/src/modules/m_swhois.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r--src/modules/m_swhois.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index 0c84764a2..4465b0c89 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -75,7 +75,7 @@ class ModuleSWhois : public Module
CommandSwhois cmd;
public:
- ModuleSWhois(InspIRCd* Me) : Module(Me), cmd(this)
+ ModuleSWhois() : cmd(this)
{
ServerInstance->AddCommand(&cmd);
Implementation eventlist[] = { I_OnWhoisLine, I_OnPostCommand };
@@ -104,7 +104,7 @@ class ModuleSWhois : public Module
{
if ((command != "OPER") || (result != CMD_SUCCESS))
return;
- ConfigReader Conf(ServerInstance);
+ ConfigReader Conf;
std::string swhois;