diff options
author | Peter Powell <petpow@saberuk.com> | 2018-07-24 18:29:43 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-07-24 21:55:10 +0100 |
commit | 97a1d6429a735eb279496df010d04e3f42aa4e22 (patch) | |
tree | a201d8ffe678e5929a2b1d373eef8082d8c6150d /src/modules/m_spanningtree | |
parent | 7a24867d97c6ffe75b155d96dedb11b30b904a33 (diff) |
Make more config stuff case insensitive.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/utils.cpp | 2 |
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(); |