aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-16 02:11:09 +0000
committerGravatar Sadie Powell2022-01-16 02:11:09 +0000
commitd854d64e7dfd528008de9e6d4f07443fe4947a2f (patch)
tree508531098eb6e9061e2da7f3dbc10d8983b7ef9c /src/configreader.cpp
parentMake MSBuild less spammy in CI output. (diff)
Fix updating connect classes when <connect:{allow, deny}> is set.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 4cdb753b0..138e5f9cc 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -312,7 +312,7 @@ void ServerConfig::CrossCheckConnectBlocks(ServerConfig* current)
me->ports.insert(port);
}
- ClassMap::iterator oldMask = oldBlocksByMask.find(std::make_pair(me->name, me->type));
+ ClassMap::iterator oldMask = oldBlocksByMask.find(std::make_pair(mask, me->type));
if (oldMask != oldBlocksByMask.end())
{
ConnectClass* old = oldMask->second;