aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_httpd_stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
-rw-r--r--src/modules/m_httpd_stats.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index c18c8c960..41e592f7f 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -320,17 +320,14 @@ namespace Stats
bool operator()(User* u1, User* u2)
{
- switch (order) {
+ switch (order)
+ {
case OB_LASTMSG:
return Compare(IS_LOCAL(u1)->idle_lastmsg, IS_LOCAL(u2)->idle_lastmsg);
- break;
case OB_NICK:
return Compare(u1->nick, u2->nick);
- break;
- default:
case OB_NONE:
return false;
- break;
}
}
};