summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-09-12 16:56:47 -0400
committerAdam <Adam@anope.org>2012-09-12 16:56:47 -0400
commitc4a53990f0767b38f0c2454c9e10e4f85ad08093 (patch)
tree7fe217cd58a852db92d6007f3ff19473d5540b8a /src
parent3af395f6a1c4679ac30b7a06bf7890f598d68047 (diff)
Fix bug #291 - fix rehashing bind tags not changing them between servers/clients and ssl/nonssl
Diffstat (limited to 'src')
-rw-r--r--src/socket.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 98ff3e00c..8c7ec97d8 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -105,6 +105,7 @@ 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
skip = true;
old_ports.erase(n);
break;