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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/commands/os_news.cpp b/modules/commands/os_news.cpp
index 5fe8ccc65..2fec7d7ad 100644
--- a/modules/commands/os_news.cpp
+++ b/modules/commands/os_news.cpp
@@ -160,6 +160,7 @@ class NewsBase : public Command
this->ns->AddNewsItem(news);
source.Reply(msgs[MSG_ADDED]);
+ Log(LOG_ADMIN, source, this) << "to add a news item";
}
return;
@@ -189,6 +190,7 @@ class NewsBase : public Command
{
this->ns->DelNewsItem(list[num - 1]);
source.Reply(msgs[MSG_DELETED], num);
+ Log(LOG_ADMIN, source, this) << "to delete a news item";
return;
}
}
@@ -201,6 +203,7 @@ class NewsBase : public Command
for (unsigned i = list.size(); i > 0; --i)
this->ns->DelNewsItem(list[i - 1]);
source.Reply(msgs[MSG_DELETED_ALL]);
+ Log(LOG_ADMIN, source, this) << "to delete all news items";
}
}
}