From 45e56e5ee1bdb9e169be957e21a4f7b536e417ff Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 1 Dec 2022 05:14:58 +0000 Subject: Yet more stylistic fixes. --- src/modules/m_httpd_stats.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (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 cb8b3a462..8a9248976 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -224,7 +224,7 @@ namespace Stats serializer.BeginBlock("channel") .Attribute("channelname", c->name) .Attribute("usercount", c->GetUsers().size()) - .Attribute("channelmodes",c->ChanModes(true)); + .Attribute("channelmodes", c->ChanModes(true)); if (!c->topic.empty()) { @@ -348,7 +348,11 @@ namespace Stats OrderBy order; bool desc; - UserSorter(OrderBy Order, bool Desc = false) : order(Order), desc(Desc) {} + UserSorter(OrderBy Order, bool Desc = false) + : order(Order) + , desc(Desc) + { + } template inline bool Compare(const T& a, const T& b) -- cgit v1.3.1-10-gc9f91