From 35d04834c9d17b63cc859bf1ecebd2704f9ee741 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 5 Mar 2026 17:03:09 +0000 Subject: Switch Reply::Type to be an enum instead of an enum class. This is shorter and its fully disambiguated anyway. --- modules/cloak.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/cloak.cpp') diff --git a/modules/cloak.cpp b/modules/cloak.cpp index c1eb5a72d..915291b66 100644 --- a/modules/cloak.cpp +++ b/modules/cloak.cpp @@ -57,13 +57,13 @@ public: if (!cloak) continue; - IRCv3::WriteReply(Reply::Type::NOTE, user, stdrplcap, this, "CLOAK_RESULT", parameters[0], cloak->ToString(), FMT::format("Cloak #{} for {} is {} (method: {})", + IRCv3::WriteReply(Reply::NOTE, user, stdrplcap, this, "CLOAK_RESULT", parameters[0], cloak->ToString(), FMT::format("Cloak #{} for {} is {} (method: {})", ++count, parameters[0], cloak->ToString(), cloakmethod->GetName())); } if (!count) { - IRCv3::WriteReply(Reply::Type::FAIL, user, stdrplcap, this, "UNABLE_TO_CLOAK", parameters[0], FMT::format("There are no methods available for cloaking {}", + IRCv3::WriteReply(Reply::FAIL, user, stdrplcap, this, "UNABLE_TO_CLOAK", parameters[0], FMT::format("There are no methods available for cloaking {}", parameters[0])); } -- cgit v1.3.1-10-gc9f91