summaryrefslogtreecommitdiff
path: root/src/modules/m_chgident.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chgident.cpp')
-rw-r--r--src/modules/m_chgident.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp
index e5b19bfca..3eab361a1 100644
--- a/src/modules/m_chgident.cpp
+++ b/src/modules/m_chgident.cpp
@@ -30,7 +30,8 @@ class cmd_chgident : public command_t
}
ServerInstance->WriteOpers("%s used CHGIDENT to change %s's ident from '%s' to '%s'", user->nick, dest->nick, dest->ident, parameters[1]);
- strlcpy(dest->ident, parameters[1], IDENTMAX+2);
+ dest->ChangeIdent(parameters[1]);
+ //strlcpy(dest->ident, parameters[1], IDENTMAX+2);
}
else
{