diff options
| author | 2020-10-26 23:40:24 +0000 | |
|---|---|---|
| committer | 2020-10-27 00:59:11 +0000 | |
| commit | 7cb27dabe695505d2eb7b942c4fbf518dda8e6b3 (patch) | |
| tree | 12f7541d3389efa9a084d2a4859d6ce4ede43b03 /src/modules/m_helpop.cpp | |
| parent | Replace the check for eventfd() with a C++17 header check. (diff) | |
Convert CmdResult to an 8-bit strongly typed enum.
Diffstat (limited to 'src/modules/m_helpop.cpp')
| -rw-r--r-- | src/modules/m_helpop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index 9575079f3..a9b732145 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -81,7 +81,7 @@ class CommandHelpop : public Command if (titer == help.end()) { user->WriteNumeric(ERR_HELPNOTFOUND, topic, nohelp); - return CMD_FAILURE; + return CmdResult::FAILURE; } const HelpTopic& entry = titer->second; @@ -89,7 +89,7 @@ class CommandHelpop : public Command for (HelpMessage::const_iterator liter = entry.body.begin(); liter != entry.body.end(); ++liter) user->WriteNumeric(RPL_HELPTXT, topic, *liter); user->WriteNumeric(RPL_ENDOFHELP, topic, "End of /HELPOP."); - return CMD_SUCCESS; + return CmdResult::SUCCESS; } }; |
