aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-09-18 15:21:25 +0100
committerGravatar Sadie Powell2020-09-18 15:21:25 +0100
commit17b91b7e2f9dcac7d5235ec4bc4c69db5f149298 (patch)
treeedaad01bcbe20461081095c7bec6c2d17a2dd242 /src/users.cpp
parentMerge branch 'insp3' into master. (diff)
parentMake it clear that <gnutls>, <mbedtls>, and <openssl> are deprecated. (diff)
downloadinspircd++-17b91b7e2f9dcac7d5235ec4bc4c69db5f149298.tar.gz
inspircd++-17b91b7e2f9dcac7d5235ec4bc4c69db5f149298.tar.bz2
inspircd++-17b91b7e2f9dcac7d5235ec4bc4c69db5f149298.zip
Merge branch 'insp3' into master.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 459c2fc51..02e67e3bd 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1010,8 +1010,8 @@ bool User::ChangeRealName(const std::string& real)
FIRST_MOD_RESULT(OnPreChangeRealName, MOD_RESULT, (IS_LOCAL(this), real));
if (MOD_RESULT == MOD_RES_DENY)
return false;
- FOREACH_MOD(OnChangeRealName, (this, real));
}
+ FOREACH_MOD(OnChangeRealName, (this, real));
this->realname.assign(real, 0, ServerInstance->Config->Limits.MaxReal);
return true;