summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-07-30 18:34:57 +0100
committerPeter Powell <petpow@saberuk.com>2018-07-30 18:34:57 +0100
commit7bde9de9b3e25a285d82d93ef6b1d3ef9c597e43 (patch)
treedc053af10e29fe2fda599e2f23548649a60bbe15 /src/users.cpp
parent8cb20e354533fbec24aafd4e61ff6fa69b434aa2 (diff)
Replace most usages of "name" with "real" or "real name".
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
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);