diff options
Diffstat (limited to 'src/modules/m_chgident.cpp')
-rw-r--r-- | src/modules/m_chgident.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp index 1c0cba27e..b9de3e45b 100644 --- a/src/modules/m_chgident.cpp +++ b/src/modules/m_chgident.cpp @@ -51,7 +51,7 @@ class CommandChgident : public Command return CMD_FAILURE; } - if (!ServerInstance->IsIdent(parameters[1].c_str())) + if (!ServerInstance->IsIdent(parameters[1])) { user->WriteNotice("*** CHGIDENT: Invalid characters in ident"); return CMD_FAILURE; @@ -59,7 +59,7 @@ class CommandChgident : public Command if (IS_LOCAL(dest)) { - dest->ChangeIdent(parameters[1].c_str()); + dest->ChangeIdent(parameters[1]); if (!ServerInstance->ULine(user->server)) ServerInstance->SNO->WriteGlobalSno('a', "%s used CHGIDENT to change %s's ident to '%s'", user->nick.c_str(), dest->nick.c_str(), dest->ident.c_str()); |