summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_mysql.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 87fb01d65..c41c25339 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -733,13 +733,11 @@ ModuleSQL::ModuleSQL(InspIRCd* Me) : Module(Me), rehashing(false)
PublicServerInstance = ServerInstance;
currid = 0;
- MessagePipe = new Notifier(ServerInstance, this);
-
/* Create a socket on a random port. Let the tcp stack allocate us an available port */
#ifdef IPV6
- MessagePipe = new MySQLListener(SI, 0, "::1");
+ MessagePipe = new MySQLListener(ServerInstance, 0, "::1");
#else
- MessagePipe = new MySQLListener(SI, 0, "127.0.0.1");
+ MessagePipe = new MySQLListener(ServerInstance, 0, "127.0.0.1");
#endif
if (MessagePipe->GetFd())