summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-10-15 01:27:07 +0100
committerPeter Powell <petpow@saberuk.com>2017-10-15 01:29:19 +0100
commit94e307757fdafe7b6db1cffcf10e8134977fbf34 (patch)
treee792d74a163c92a7564f2221ae2640823c83abbb
parent96f33a88efc126e21f96dc5339d970dda40e27df (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.cpp5
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);