From: Sadie Powell Date: Tue, 1 Sep 2020 08:59:09 +0000 (+0100) Subject: Fix OnChangeRealName not being fired for remote users. X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=bc444b242fabb8ae8b5ca58c2c903b75c02e9756;p=user%2Fhenk%2Fcode%2Finspircd.git Fix OnChangeRealName not being fired for remote users. --- 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;