From bc444b242fabb8ae8b5ca58c2c903b75c02e9756 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 1 Sep 2020 09:59:09 +0100 Subject: Fix OnChangeRealName not being fired for remote users. --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') 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; -- cgit v1.2.3