1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 15:16:38 +02:00

Fix randomnews to work when there are more than newscount random news

This commit is contained in:
Adam
2016-04-22 11:15:42 -04:00
parent 8b6e17fe7e
commit 9b5fdea8f2
+1 -1
View File
@@ -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)