From 94e307757fdafe7b6db1cffcf10e8134977fbf34 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 15 Oct 2017 01:27:07 +0100 Subject: Remove an outdated comment in cmd_user. We don't use C strings for storing the ident anymore. --- src/coremods/core_user/cmd_user.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/coremods') diff --git a/src/coremods/core_user/cmd_user.cpp b/src/coremods/core_user/cmd_user.cpp index 37ac116df..8bf34665d 100644 --- a/src/coremods/core_user/cmd_user.cpp +++ b/src/coremods/core_user/cmd_user.cpp @@ -45,11 +45,6 @@ CmdResult CommandUser::HandleLocal(const std::vector& parameters, L } else { - /* - * The ident field is IDENTMAX+2 in size to account for +1 for the optional - * ~ character, and +1 for null termination, therefore we can safely use up to - * IDENTMAX here. - */ user->ChangeIdent(parameters[0]); user->fullname.assign(parameters[3].empty() ? "No info" : parameters[3], 0, ServerInstance->Config->Limits.MaxGecos); user->registered = (user->registered | REG_USER); -- cgit v1.2.3