diff options
| author | 2016-08-10 15:57:04 +0200 | |
|---|---|---|
| committer | 2016-08-10 15:57:04 +0200 | |
| commit | 7770cd985405c7630e9149fc08c314ec824a9c75 (patch) | |
| tree | 717c8ed61ec462196d206471899fc47e25c05c59 /src/modules/m_spanningtree/main.cpp | |
| parent | Add a method which calculates the maximum mask length. (#1171) (diff) | |
| parent | m_ssl_* Add option to sslprofile controlling whether to request client certif... (diff) | |
Merge branch 'master+websocket'
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 0b9bb65df..81543b0da 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -635,7 +635,7 @@ restart: for (TreeServer::ChildServers::const_iterator i = list.begin(); i != list.end(); ++i) { TreeSocket* sock = (*i)->GetSocket(); - if (sock->GetIOHook() && sock->GetIOHook()->prov->creator == mod) + if (sock->GetModHook(mod)) { sock->SendError("SSL module unloaded"); sock->Close(); @@ -647,7 +647,7 @@ restart: for (SpanningTreeUtilities::TimeoutList::const_iterator i = Utils->timeoutlist.begin(); i != Utils->timeoutlist.end(); ++i) { TreeSocket* sock = i->first; - if (sock->GetIOHook() && sock->GetIOHook()->prov->creator == mod) + if (sock->GetModHook(mod)) sock->Close(); } } |
