From 7bde9de9b3e25a285d82d93ef6b1d3ef9c597e43 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 30 Jul 2018 18:34:57 +0100 Subject: Replace most usages of "name" with "real" or "real name". --- src/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 20480da07..fb4888639 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -995,7 +995,7 @@ bool User::SharesChannelWith(User *other) return false; } -bool User::ChangeName(const std::string& real) +bool User::ChangeRealName(const std::string& real) { if (!this->fullname.compare(real)) return true; @@ -1006,7 +1006,7 @@ bool User::ChangeName(const std::string& real) FIRST_MOD_RESULT(OnPreChangeRealName, MOD_RESULT, (IS_LOCAL(this), real)); if (MOD_RESULT == MOD_RES_DENY) return false; - FOREACH_MOD(OnChangeName, (this, real)); + FOREACH_MOD(OnChangeRealName, (this, real)); } this->fullname.assign(real, 0, ServerInstance->Config->Limits.MaxReal); -- cgit v1.3.1-10-gc9f91