From 1a124bb23ab6b04ced9e2fb762423a0260882841 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 25 Aug 2006 19:02:18 +0000 Subject: Add userrec::ChangeIdent (which we were missing) which can emulate the quit/rejoin same as ChangeDisplayedHost git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5022 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chgident.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules') 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 { -- cgit v1.2.3