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 50536099d..b9b9eb33e 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2342,6 +2342,7 @@ int InspIRCd(char** argv, int argc) InspSocket* s = (InspSocket*)*a; if (!s->Poll()) { + s->Close(); delete s; module_sockets.erase(a); break; |