1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 12:46:37 +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 97388abb99
commit 1a4fc39d7b
+1 -1
View File
@@ -418,7 +418,7 @@ class OSNews : public Module
void OnUserConnect(dynamic_reference<User> &user, bool &)
{
if (!user)
if (!user || !user->server->IsSynced())
return;
DisplayNews(user, NEWS_LOGON);