diff options
author | Sadie Powell <sadie@witchery.services> | 2020-09-01 09:59:09 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-09-01 10:00:39 +0100 |
commit | bc444b242fabb8ae8b5ca58c2c903b75c02e9756 (patch) | |
tree | c6902221333e1b517178116e53103f3963d50f4e /src/users.cpp | |
parent | a8a5308d0f41813dc7c767e154e809d919a937f7 (diff) |
Fix OnChangeRealName not being fired for remote users.
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index f6bed6c1d..df21dbeee 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1016,8 +1016,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; |