From 0d684191e99a689c80560018dd52e6d8fd5dc549 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 2 Oct 2010 16:43:24 -0400 Subject: Made os_news send news notices from NickServ if global is disabled --- modules/core/os_news.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/core/os_news.cpp b/modules/core/os_news.cpp index 878e286e6..237d5c66b 100644 --- a/modules/core/os_news.cpp +++ b/modules/core/os_news.cpp @@ -95,7 +95,7 @@ static void DisplayNews(User *u, NewsType Type) if (Type == NEWS_RANDOM && i == current_news) continue; - u->SendMessage(Global, msg, do_strftime(News[i]->time).c_str(), News[i]->Text.c_str()); + u->SendMessage(Global ? Global : NickServ, msg, do_strftime(News[i]->time).c_str(), News[i]->Text.c_str()); ++displayed; -- cgit