aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_httpd_stats.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-04-04 23:53:36 +0100
committerGravatar Sadie Powell2021-04-04 23:59:16 +0100
commit845907275e9db39e729e186c44d26a13818d5eb2 (patch)
tree19927cee47855f061fb7fb81e37be387769dfb55 /src/modules/m_httpd_stats.cpp
parentFix a ton of pedantic compiler warnings. (diff)
downloadinspircd++-845907275e9db39e729e186c44d26a13818d5eb2.tar.gz
inspircd++-845907275e9db39e729e186c44d26a13818d5eb2.tar.bz2
inspircd++-845907275e9db39e729e186c44d26a13818d5eb2.zip
Fix core_dns failing to compile on GCC.
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
-rw-r--r--src/modules/m_httpd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}