]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
More compile fixes.
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 8 Sep 2008 20:41:10 +0000 (20:41 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 8 Sep 2008 20:41:10 +0000 (20:41 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10475 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/extra/m_mysql.cpp

index 87fb01d65bad1eb8e2526958a7fa531ff2250ff9..c41c25339624e4118c0a54700464a9d28d341e58 100644 (file)
@@ -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())