diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 22fe0ae6e..a7ce18f4a 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -704,6 +704,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) { log(DEBUG,"Socket poll returned false, close and bail"); SE->DelFd(s->GetFd()); + socket_ref[activefds[activefd]] = NULL; for (std::vector<InspSocket*>::iterator a = module_sockets.begin(); a < module_sockets.end(); a++) { s_del = (InspSocket*)*a; |