From 2dec8e767a70def4b9b04a96ae4f75e4d1013038 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 18 Jun 2012 05:04:30 -0400 Subject: Allow userless command sources --- modules/commands/os_news.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/os_news.cpp') 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); -- cgit