From ae24657214e69d6f77407c5cfaa0095da7b6d7c1 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 9 Sep 2006 15:37:31 +0000 Subject: Ensure that these output the sane value thats actually set, not the possibly insane one you TRIED to set git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5186 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_setident.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_setident.cpp') diff --git a/src/modules/m_setident.cpp b/src/modules/m_setident.cpp index c3b24aeb4..dead4a393 100644 --- a/src/modules/m_setident.cpp +++ b/src/modules/m_setident.cpp @@ -27,9 +27,9 @@ class cmd_setident : public command_t user->WriteServ("NOTICE %s :*** Invalid characters in ident", user->nick); return CMD_FAILURE; } - - ServerInstance->WriteOpers("%s used SETIDENT to change their ident from '%s' to '%s'", user->nick, user->ident, parameters[0]); + user->ChangeIdent(parameters[0]); + ServerInstance->WriteOpers("%s used SETIDENT to change their ident to '%s'", user->nick, user->ident); return CMD_SUCCESS; } -- cgit v1.3.1-10-gc9f91