1
0
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:
Adam
2011-07-06 22:06:07 -04:00
parent 205eb1ce22
commit 7c06078cf1
+2
View File
@@ -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);
}