diff options
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; } } |