]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socket.cpp
Split IOHook into IOHook and IOHookProvider
[user/henk/code/inspircd.git] / src / socket.cpp
index 4ebed1ccd7117684f61c747729c790ae6899d2a7..c65cd5b27faa870523897695f9b026e685c6f888 100644 (file)
@@ -106,6 +106,8 @@ int InspIRCd::BindPorts(FailedPortList &failed_ports)
                                if ((**n).bind_desc == bind_readable)
                                {
                                        (*n)->bind_tag = tag; // Replace tag, we know addr and port match, but other info (type, ssl) may not
+                                       (*n)->ResetIOHookProvider();
+
                                        skip = true;
                                        old_ports.erase(n);
                                        break;