diff options
| author | 2022-12-01 05:14:58 +0000 | |
|---|---|---|
| committer | 2022-12-01 05:25:01 +0000 | |
| commit | 45e56e5ee1bdb9e169be957e21a4f7b536e417ff (patch) | |
| tree | 72642028744c278ca476e656933716ac9f7357b8 /src/modules/m_httpd_stats.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Yet more stylistic fixes.
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
| -rw-r--r-- | src/modules/m_httpd_stats.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
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 <typename T> inline bool Compare(const T& a, const T& b) |
