diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-08 20:41:10 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-08 20:41:10 +0000 |
commit | 617b640fa8e55f853181c0cc0620d6cf2eeb6b4f (patch) | |
tree | 7ea28a14ab290d22650466fcea20bd67926b9066 /src/modules/extra | |
parent | 00bc6a80a2af628474dd14b7bdc3c25028150d31 (diff) |
More compile fixes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10475 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_mysql.cpp | 6 |
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()) |