mirror of
https://github.com/anope/anope.git
synced 2026-07-03 08:33:12 +02:00
Change the return type of ircdmessage to void now that we don't use it, add an ircd message module event, and a few more fixups
This commit is contained in:
@@ -27,7 +27,11 @@ Pipe::Pipe() : Socket(-1), write_pipe(-1)
|
||||
flags = fcntl(fds[1], F_GETFL, 0);
|
||||
fcntl(fds[1], F_SETFL, flags | O_NONBLOCK);
|
||||
|
||||
this->~Pipe();
|
||||
SocketEngine::Change(this, false, SF_READABLE);
|
||||
SocketEngine::Change(this, false, SF_WRITABLE);
|
||||
anope_close(this->sock);
|
||||
this->io->Destroy();
|
||||
SocketEngine::Sockets.erase(this->sock);
|
||||
|
||||
this->sock = fds[0];
|
||||
this->write_pipe = fds[1];
|
||||
|
||||
Reference in New Issue
Block a user