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/setident.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/setident.cpp') diff --git a/modules/setident.cpp b/modules/setident.cpp index df4f9c94f..89fe6d892 100644 --- a/modules/setident.cpp +++ b/modules/setident.cpp @@ -75,13 +75,13 @@ public: const auto& newuser = parameters.back(); if (newuser.size() > ServerInstance->Config->Limits.MaxUser) { - IRCv3::WriteReply(Reply::Type::FAIL, user, cap, this, "INVALID_USERNAME", "Username is too long"); + IRCv3::WriteReply(Reply::FAIL, user, cap, this, "INVALID_USERNAME", "Username is too long"); return CmdResult::FAILURE; } if (!ServerInstance->Users.IsUser(parameters[0])) { - IRCv3::WriteReply(Reply::Type::FAIL, user, cap, this, "INVALID_USERNAME", "Invalid characters in username"); + IRCv3::WriteReply(Reply::FAIL, user, cap, this, "INVALID_USERNAME", "Invalid characters in username"); return CmdResult::FAILURE; } -- cgit v1.3.1-10-gc9f91