aboutsummaryrefslogtreecommitdiff
path: root/modules/setident.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setident.cpp')
-rw-r--r--modules/setident.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}