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_showfile.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_showfile.cpp')
| -rw-r--r-- | src/modules/m_showfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_showfile.cpp b/src/modules/m_showfile.cpp index 9346df05e..64b54ec28 100644 --- a/src/modules/m_showfile.cpp +++ b/src/modules/m_showfile.cpp @@ -75,7 +75,7 @@ class CommandShowFile : public Command localuser->Send(ServerInstance->GetRFCEvents().privmsg, msg); } } - return CMD_SUCCESS; + return CmdResult::SUCCESS; } void UpdateSettings(ConfigTag* tag, const std::vector<std::string>& filecontents) |
