From 617b640fa8e55f853181c0cc0620d6cf2eeb6b4f Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 8 Sep 2008 20:41:10 +0000 Subject: More compile fixes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10475 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_mysql.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/modules/extra') 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()) -- cgit v1.2.3