mirror of
https://github.com/anope/anope.git
synced 2026-06-27 15:46:39 +02:00
Do not send news when a server is syncing
This commit is contained in:
@@ -429,6 +429,8 @@ class OSNews : public Module
|
||||
|
||||
void OnUserConnect(User *u)
|
||||
{
|
||||
if (!u || !u->server->IsSynced())
|
||||
return;
|
||||
DisplayNews(u, NEWS_LOGON);
|
||||
DisplayNews(u, NEWS_RANDOM);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user