aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_setident.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_setident.cpp')
-rw-r--r--src/modules/m_setident.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_setident.cpp b/src/modules/m_setident.cpp
index f85ca1f0a..c749548c8 100644
--- a/src/modules/m_setident.cpp
+++ b/src/modules/m_setident.cpp
@@ -43,19 +43,19 @@ class CommandSetident : public Command
if (parameters[0].size() > ServerInstance->Config->Limits.IdentMax)
{
user->WriteNotice("*** SETIDENT: Ident is too long");
- return CMD_FAILURE;
+ return CmdResult::FAILURE;
}
if (!ServerInstance->IsIdent(parameters[0]))
{
user->WriteNotice("*** SETIDENT: Invalid characters in ident");
- return CMD_FAILURE;
+ return CmdResult::FAILURE;
}
user->ChangeIdent(parameters[0]);
ServerInstance->SNO.WriteGlobalSno('a', "%s used SETIDENT to change their ident to '%s'", user->nick.c_str(), user->ident.c_str());
- return CMD_SUCCESS;
+ return CmdResult::SUCCESS;
}
};