aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_httpd_stats.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2018-07-30 18:50:34 +0100
committerGravatar Peter Powell2018-07-30 18:50:34 +0100
commitabbf70b2a35edaf17631e43027828011296924ad (patch)
tree62df618ad367cad9324cb1e91182790c22c9b5f8 /src/modules/m_httpd_stats.cpp
parentReplace most usages of "name" with "real" or "real name". (diff)
downloadinspircd++-abbf70b2a35edaf17631e43027828011296924ad.tar.gz
inspircd++-abbf70b2a35edaf17631e43027828011296924ad.tar.bz2
inspircd++-abbf70b2a35edaf17631e43027828011296924ad.zip
Rename User::fullname to realname and make it private.
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
-rw-r--r--src/modules/m_httpd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index 818c06297..6db292eb3 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -184,7 +184,7 @@ class ModuleHttpStats : public Module, public HTTPRequestEventListener
data << "<user>";
data << "<nickname>" << u->nick << "</nickname><uuid>" << u->uuid << "</uuid><realhost>"
<< u->GetRealHost() << "</realhost><displayhost>" << u->GetDisplayedHost() << "</displayhost><realname>"
- << Sanitize(u->fullname) << "</realname><server>" << u->server->GetName() << "</server>";
+ << Sanitize(u->GetRealName()) << "</realname><server>" << u->server->GetName() << "</server>";
if (u->IsAway())
data << "<away>" << Sanitize(u->awaymsg) << "</away><awaytime>" << u->awaytime << "</awaytime>";
if (u->IsOper())