diff options
| author | 2015-05-01 16:40:22 +0200 | |
|---|---|---|
| committer | 2015-05-01 16:40:22 +0200 | |
| commit | b22d8ea93321c3be05f3d28936d27cfbe56c86b3 (patch) | |
| tree | f46522389f8a3c77dfbcb260a4cff9841f80bf0b /src/modules/m_httpd.cpp | |
| parent | Merge branch 'master+dns' (diff) | |
| download | inspircd++-b22d8ea93321c3be05f3d28936d27cfbe56c86b3.tar.gz inspircd++-b22d8ea93321c3be05f3d28936d27cfbe56c86b3.tar.bz2 inspircd++-b22d8ea93321c3be05f3d28936d27cfbe56c86b3.zip | |
m_httpd Fix iteration in OnUnloadModule()
Diffstat (limited to 'src/modules/m_httpd.cpp')
| -rw-r--r-- | src/modules/m_httpd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index aa83b120c..760647d47 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -409,7 +409,7 @@ class ModuleHttpServer : public Module void OnUnloadModule(Module* mod) { - for (insp::intrusive_list<HttpServerSocket>::const_iterator i = sockets.begin(); i != sockets.end(); ++i) + for (insp::intrusive_list<HttpServerSocket>::const_iterator i = sockets.begin(); i != sockets.end(); ) { HttpServerSocket* sock = *i; ++i; |
