diff options
author | Sadie Powell <sadie@witchery.services> | 2020-01-16 18:33:18 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-01-17 10:55:18 +0000 |
commit | 72286cca740b374661a03d8544ca28d9237875ad (patch) | |
tree | a40aaa825b2a60bacd20147d1915fa892e52d2e2 /src/modules/m_timedbans.cpp | |
parent | 2bf0722dde6938f3c423b0c3c8c494ce3f64437d (diff) |
Use irc::equals instead of strcasecmp where appropriate.
Diffstat (limited to 'src/modules/m_timedbans.cpp')
-rw-r--r-- | src/modules/m_timedbans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index d3fd116bf..cbdea1179 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -62,7 +62,7 @@ class CommandTban : public Command for (ListModeBase::ModeList::const_iterator i = bans->begin(); i != bans->end(); ++i) { const ListModeBase::ListItem& ban = *i; - if (!strcasecmp(ban.mask.c_str(), mask.c_str())) + if (irc::equals(ban.mask, mask)) return true; } } |