diff options
| author | 2015-02-12 16:22:06 +0100 | |
|---|---|---|
| committer | 2015-02-12 16:22:06 +0100 | |
| commit | b02985f27da21324a8e5e162b83025065420d79d (patch) | |
| tree | 574649472dd3f3f0d369f2cd552ea48b31d6bb7b /src/modules/m_httpd_stats.cpp | |
| parent | Merge branch 'master+tlsversion' (diff) | |
| download | inspircd++-b02985f27da21324a8e5e162b83025065420d79d.tar.gz inspircd++-b02985f27da21324a8e5e162b83025065420d79d.tar.bz2 inspircd++-b02985f27da21324a8e5e162b83025065420d79d.zip | |
m_httpd_stats Fix pointer being shown instead of server name in <user>
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
| -rw-r--r-- | src/modules/m_httpd_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 30eacd7a7..ae65f0692 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -189,7 +189,7 @@ class ModuleHttpStats : public Module data << "<user>"; data << "<nickname>" << u->nick << "</nickname><uuid>" << u->uuid << "</uuid><realhost>" << u->host << "</realhost><displayhost>" << u->dhost << "</displayhost><gecos>" - << Sanitize(u->fullname) << "</gecos><server>" << u->server << "</server>"; + << Sanitize(u->fullname) << "</gecos><server>" << u->server->GetName() << "</server>"; if (u->IsAway()) data << "<away>" << Sanitize(u->awaymsg) << "</away><awaytime>" << u->awaytime << "</awaytime>"; if (u->IsOper()) |
