summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-01-16 18:33:18 +0000
committerSadie Powell <sadie@witchery.services>2020-01-17 10:55:18 +0000
commit72286cca740b374661a03d8544ca28d9237875ad (patch)
treea40aaa825b2a60bacd20147d1915fa892e52d2e2 /src/modules/m_spanningtree
parent2bf0722dde6938f3c423b0c3c8c494ce3f64437d (diff)
Use irc::equals instead of strcasecmp where appropriate.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treeserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp
index c51c7c42c..db58fbb39 100644
--- a/src/modules/m_spanningtree/treeserver.cpp
+++ b/src/modules/m_spanningtree/treeserver.cpp
@@ -255,7 +255,7 @@ void TreeServer::CheckULine()
{
ConfigTag* tag = i->second;
std::string server = tag->getString("server");
- if (!strcasecmp(server.c_str(), GetName().c_str()))
+ if (irc::equals(server, GetName()))
{
if (this->IsRoot())
{