diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-28 13:01:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-28 13:01:19 +0000 |
commit | 104cf9cbee8ae0c6994060b565fe410e8f140ed7 (patch) | |
tree | 601834883d8cb4707820164de7fcceb9cf4f51c5 /src/modules/extra/m_mysql.cpp | |
parent | fe3799248f7d4cf50b1ba704615d5952dede8917 (diff) |
Note: connect() cant time out for inspsockets in this commit. They'll sit in memory forever -- if you want something actually working properly wait for the next commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5040 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_mysql.cpp')
-rw-r--r-- | src/modules/extra/m_mysql.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index db68e17cd..8b6efb2c6 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -679,7 +679,7 @@ class Notifier : public InspSocket { Instance->Log(DEBUG,"Inbound connection on fd %d!",newsock); Notifier* n = new Notifier(this->Instance, newsock, ip); - this->Instance->AddSocket(n); + n = n; /* Stop bitching at me, GCC */ return true; } @@ -779,7 +779,6 @@ class ModuleSQL : public Module SQLModule = this; MessagePipe = new Notifier(ServerInstance); - ServerInstance->AddSocket(MessagePipe); ServerInstance->Log(DEBUG,"Bound notifier to 127.0.0.1:%d",MessagePipe->GetPort()); pthread_attr_t attribs; |