1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 08:53:11 +02:00

Fixed eventfd pipeengine to not add the same socket twice

This commit is contained in:
Adam
2011-08-21 17:26:54 -04:00
parent f54ab5e2ca
commit d5749c11f3
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -5,8 +5,6 @@ Pipe::Pipe() : Socket(eventfd(0, EFD_NONBLOCK))
{
if (this->Sock < 0)
throw CoreException("Could not create pipe: " + Anope::LastError());
SocketEngine::AddSocket(this);
}
Pipe::~Pipe()