From 7cb27dabe695505d2eb7b942c4fbf518dda8e6b3 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 26 Oct 2020 23:40:24 +0000 Subject: Convert CmdResult to an 8-bit strongly typed enum. --- src/modules/m_watch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_watch.cpp') diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index 6a0a87568..de193535b 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -144,7 +144,7 @@ class CommandWatch : public SplitCommand if (parameters.empty()) { HandleList(user, false); - return CMD_SUCCESS; + return CmdResult::SUCCESS; } bool watch_l_done = false; @@ -179,7 +179,7 @@ class CommandWatch : public SplitCommand HandleStats(user); } } - return CMD_SUCCESS; + return CmdResult::SUCCESS; } }; -- cgit v1.3.1-10-gc9f91