diff options
author | Adam <Adam@anope.org> | 2011-03-11 04:27:32 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-11 04:27:32 -0500 |
commit | bb3b421385c0516a6a7091d77f45290dfe3e710c (patch) | |
tree | 28d712e1f80818ea394ec2a3158553315f30882b | |
parent | 1ee3d3d81034c2e2d8c1bf55db8963a50e35f363 (diff) |
Global should send logon news
-rw-r--r-- | modules/core/os_news.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/os_news.cpp b/modules/core/os_news.cpp index 3fc5c2959..7a533cfdf 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(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; |