aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/misccommands.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-10-26 23:40:24 +0000
committerGravatar Sadie Powell2020-10-27 00:59:11 +0000
commit7cb27dabe695505d2eb7b942c4fbf518dda8e6b3 (patch)
tree12f7541d3389efa9a084d2a4859d6ce4ede43b03 /src/modules/m_spanningtree/misccommands.cpp
parentReplace 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_spanningtree/misccommands.cpp')
-rw-r--r--src/modules/m_spanningtree/misccommands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/misccommands.cpp b/src/modules/m_spanningtree/misccommands.cpp
index 1a07b4855..dd947f1f0 100644
--- a/src/modules/m_spanningtree/misccommands.cpp
+++ b/src/modules/m_spanningtree/misccommands.cpp
@@ -62,11 +62,11 @@ void CmdBuilder::UpdateTags()
CmdResult CommandSNONotice::Handle(User* user, Params& params)
{
ServerInstance->SNO.WriteToSnoMask(params[0][0], "From " + user->nick + ": " + params[1]);
- return CMD_SUCCESS;
+ return CmdResult::SUCCESS;
}
CmdResult CommandEndBurst::HandleServer(TreeServer* server, Params& params)
{
server->FinishBurst();
- return CMD_SUCCESS;
+ return CmdResult::SUCCESS;
}