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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_news.cpp b/modules/commands/os_news.cpp
index 456661c46..ba23c431d 100644
--- a/modules/commands/os_news.cpp
+++ b/modules/commands/os_news.cpp
@@ -158,7 +158,7 @@ class NewsBase : public Command
news->type = ntype;
news->text = text;
news->time = Anope::CurTime;
- news->who = source.u->nick;
+ news->who = source.GetNick();
this->ns->AddNewsItem(news);