summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/utils.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-11-09 06:52:38 -0500
committerAdam <Adam@anope.org>2013-11-09 06:52:38 -0500
commite81860311e448867c1c35b89734afb5ea672019c (patch)
treedf284bdd8b8d20da77580039548169fe6d76b49e /src/modules/m_spanningtree/utils.cpp
parent2f0c3281d7deba949147af642fef48b8779020ac (diff)
Use case insensitive comparison for server names for (auto)connects, issue #662
Diffstat (limited to 'src/modules/m_spanningtree/utils.cpp')
-rw-r--r--src/modules/m_spanningtree/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp
index 1879d7111..3bd0aa2c7 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -421,7 +421,7 @@ Link* SpanningTreeUtilities::FindLink(const std::string& name)
for (std::vector<reference<Link> >::iterator i = LinkBlocks.begin(); i != LinkBlocks.end(); ++i)
{
Link* x = *i;
- if (InspIRCd::Match(x->Name.c_str(), name.c_str()))
+ if (InspIRCd::Match(x->Name.c_str(), name.c_str(), rfc_case_insensitive_map))
{
return x;
}