diff options
Diffstat (limited to 'modules/commands/os_news.cpp')
| -rw-r--r-- | modules/commands/os_news.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/os_news.cpp b/modules/commands/os_news.cpp index 4cc98cc27..373774570 100644 --- a/modules/commands/os_news.cpp +++ b/modules/commands/os_news.cpp @@ -99,7 +99,7 @@ class MyNewsService : public NewsService public: MyNewsService(Module *m) : NewsService(m) { } - ~MyNewsService() + ~MyNewsService() override { for (unsigned i = 0; i < 3; ++i) for (unsigned j = 0; j < newsItems[i].size(); ++j) @@ -280,13 +280,13 @@ class NewsBase : public Command this->SetSyntax("LIST"); } - virtual ~NewsBase() + ~NewsBase() override { } - virtual void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) = 0; + void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override = 0; - virtual bool OnHelp(CommandSource &source, const Anope::string &subcommand) = 0; + bool OnHelp(CommandSource &source, const Anope::string &subcommand) override = 0; }; class CommandOSLogonNews : public NewsBase |
