From 845907275e9db39e729e186c44d26a13818d5eb2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 4 Apr 2021 23:53:36 +0100 Subject: Fix core_dns failing to compile on GCC. --- 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 41e592f7f..4a565f79e 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -326,7 +326,7 @@ namespace Stats return Compare(IS_LOCAL(u1)->idle_lastmsg, IS_LOCAL(u2)->idle_lastmsg); case OB_NICK: return Compare(u1->nick, u2->nick); - case OB_NONE: + default: return false; } } -- cgit v1.3.1-10-gc9f91