summaryrefslogtreecommitdiff
path: root/modules/commands/os_news.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/os_news.cpp')
-rw-r--r--modules/commands/os_news.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_news.cpp b/modules/commands/os_news.cpp
index d83e44025..f199cdad5 100644
--- a/modules/commands/os_news.cpp
+++ b/modules/commands/os_news.cpp
@@ -111,12 +111,12 @@ class MyNewsService : public NewsService
return new MyNewsItem();
}
- void AddNewsItem(NewsItem *n)
+ void AddNewsItem(NewsItem *n) anope_override
{
this->newsItems[n->type].push_back(n);
}
- void DelNewsItem(NewsItem *n)
+ void DelNewsItem(NewsItem *n) anope_override
{
std::vector<NewsItem *> &list = this->GetNewsList(n->type);
std::vector<NewsItem *>::iterator it = std::find(list.begin(), list.end(), n);
@@ -125,7 +125,7 @@ class MyNewsService : public NewsService
delete n;
}
- std::vector<NewsItem *> &GetNewsList(NewsType t)
+ std::vector<NewsItem *> &GetNewsList(NewsType t) anope_override
{
return this->newsItems[t];
}