diff options
| author | 2018-07-30 18:34:57 +0100 | |
|---|---|---|
| committer | 2018-07-30 18:34:57 +0100 | |
| commit | 7bde9de9b3e25a285d82d93ef6b1d3ef9c597e43 (patch) | |
| tree | dc053af10e29fe2fda599e2f23548649a60bbe15 /src/users.cpp | |
| parent | Replace most usages of "GECOS" with "real" or "real name". (diff) | |
| download | inspircd++-7bde9de9b3e25a285d82d93ef6b1d3ef9c597e43.tar.gz inspircd++-7bde9de9b3e25a285d82d93ef6b1d3ef9c597e43.tar.bz2 inspircd++-7bde9de9b3e25a285d82d93ef6b1d3ef9c597e43.zip | |
Replace most usages of "name" with "real" or "real name".
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
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); |
