diff options
author | Peter Powell <petpow@saberuk.com> | 2017-10-15 01:27:07 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-10-15 01:29:19 +0100 |
commit | 94e307757fdafe7b6db1cffcf10e8134977fbf34 (patch) | |
tree | e792d74a163c92a7564f2221ae2640823c83abbb | |
parent | 96f33a88efc126e21f96dc5339d970dda40e27df (diff) |
Remove an outdated comment in cmd_user.
We don't use C strings for storing the ident anymore.
-rw-r--r-- | src/coremods/core_user/cmd_user.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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<std::string>& 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); |