From d865b434865907bfad0a187dd403d4ca8144e469 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 22 Oct 2017 21:53:24 +0100 Subject: Hide User#host and User#dhost and use accessors to modify them. This removes the need to invalidate the cache after changing a user's hostname. --- src/modules/m_httpd_stats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_httpd_stats.cpp') diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index de5a61e4d..00cab3197 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -183,7 +183,7 @@ class ModuleHttpStats : public Module, public HTTPRequestEventListener data << ""; data << "" << u->nick << "" << u->uuid << "" - << u->host << "" << u->dhost << "" + << u->GetRealHost() << "" << u->GetDisplayedHost() << "" << Sanitize(u->fullname) << "" << u->server->GetName() << ""; if (u->IsAway()) data << "" << Sanitize(u->awaymsg) << "" << u->awaytime << ""; -- cgit v1.3.1-10-gc9f91