summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-07-24 18:29:43 +0100
committerPeter Powell <petpow@saberuk.com>2018-07-24 21:55:10 +0100
commit97a1d6429a735eb279496df010d04e3f42aa4e22 (patch)
treea201d8ffe678e5929a2b1d373eef8082d8c6150d /src/modules/m_spanningtree
parent7a24867d97c6ffe75b155d96dedb11b30b904a33 (diff)
Make more config stuff case insensitive.
Diffstat (limited to 'src/modules/m_spanningtree')
-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 f42822daa..cde627e21 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -33,7 +33,7 @@ SpanningTreeUtilities* Utils = NULL;
ModResult ModuleSpanningTree::OnAcceptConnection(int newsock, ListenSocket* from, irc::sockets::sockaddrs* client, irc::sockets::sockaddrs* server)
{
- if (from->bind_tag->getString("type") != "servers")
+ if (!stdalgo::string::equalsci(from->bind_tag->getString("type"), "servers"))
return MOD_RES_PASSTHRU;
std::string incomingip = client->addr();