summaryrefslogtreecommitdiff
path: root/src/modules/m_httpd_stats.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-07-30 18:50:34 +0100
committerPeter Powell <petpow@saberuk.com>2018-07-30 18:50:34 +0100
commitabbf70b2a35edaf17631e43027828011296924ad (patch)
tree62df618ad367cad9324cb1e91182790c22c9b5f8 /src/modules/m_httpd_stats.cpp
parent7bde9de9b3e25a285d82d93ef6b1d3ef9c597e43 (diff)
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())