1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 15:23:13 +02:00

Global should send logon news

This commit is contained in:
Adam
2011-03-11 04:27:32 -05:00
parent 1ee3d3d810
commit bb3b421385
+1 -1
View File
@@ -95,7 +95,7 @@ static void DisplayNews(User *u, NewsType Type)
if (Type == NEWS_RANDOM && i == current_news)
continue;
u->SendMessage(OperServ, msg.c_str(), do_strftime(News[i]->time).c_str(), News[i]->Text.c_str());
u->SendMessage(Type != NEWS_OPER && Global ? Global : OperServ, msg.c_str(), do_strftime(News[i]->time).c_str(), News[i]->Text.c_str());
++displayed;