diff options
| author | 2018-07-30 18:30:11 +0100 | |
|---|---|---|
| committer | 2018-07-30 18:30:11 +0100 | |
| commit | 8cb20e354533fbec24aafd4e61ff6fa69b434aa2 (patch) | |
| tree | 894c77067d6cd443f3ab44b58639b03228079ec8 /src/modules/m_spanningtree/main.cpp | |
| parent | Replace irc::stringjoiner with a generic stdalgo::string::join. (diff) | |
Replace most usages of "GECOS" with "real" or "real name".
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 0d153737f..344a6088b 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -493,12 +493,12 @@ void ModuleSpanningTree::OnChangeHost(User* user, const std::string &newhost) CmdBuilder(user, "FHOST").push(newhost).Broadcast(); } -void ModuleSpanningTree::OnChangeName(User* user, const std::string &gecos) +void ModuleSpanningTree::OnChangeName(User* user, const std::string& real) { if (user->registered != REG_ALL || !IS_LOCAL(user)) return; - CmdBuilder(user, "FNAME").push_last(gecos).Broadcast(); + CmdBuilder(user, "FNAME").push_last(real).Broadcast(); } void ModuleSpanningTree::OnChangeIdent(User* user, const std::string &ident) |
