summaryrefslogtreecommitdiff
path: root/src/modules/m_showwhois.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_showwhois.cpp')
-rw-r--r--src/modules/m_showwhois.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp
index 3b2ea7de9..9b2604473 100644
--- a/src/modules/m_showwhois.cpp
+++ b/src/modules/m_showwhois.cpp
@@ -74,7 +74,12 @@ class ModuleShowwhois : public Module
public:
- ModuleShowwhois() : cmd(this)
+ ModuleShowwhois()
+ : sw(NULL), cmd(this)
+ {
+ }
+
+ void init()
{
ConfigTag* tag = ServerInstance->Config->ConfValue("showwhois");