diff --git a/modules/commands/os_news.cpp b/modules/commands/os_news.cpp index 444e6b749..a35a74584 100644 --- a/modules/commands/os_news.cpp +++ b/modules/commands/os_news.cpp @@ -405,7 +405,7 @@ class OSNews : public Module int start = 0; - if (type != NEWS_RANDOM) + if (Type != NEWS_RANDOM) { start = newsList.size() - news_count; if (start < 0)