diff options
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r-- | src/modules/m_dccallow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 91f22928c..2d7fb3ce4 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -206,13 +206,13 @@ class CommandDccallow : public Command // if they didn't specify an action, this is probably a command if (action != '+' && action != '-') { - if (!strcasecmp(parameters[0].c_str(), "LIST")) + if (irc::equals(parameters[0], "LIST")) { // list current DCCALLOW list DisplayDCCAllowList(user); return CMD_FAILURE; } - else if (!strcasecmp(parameters[0].c_str(), "HELP")) + else if (irc::equals(parameters[0], "HELP")) { // display help DisplayHelp(user); |