diff options
| author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-14 18:01:08 +0000 |
|---|---|---|
| committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-14 18:01:08 +0000 |
| commit | dcfcd9302fe67bfe1aeb67db4203867d173d3073 (patch) | |
| tree | 8220b8762f7eeedad32da4325be023a1fafd9c54 /src/channels.c | |
| parent | 8c95c8f4904d3c1fd5e173f1d52356c921faf83d (diff) | |
BUILD : 1.7.8 (619) BUGS : NOTES : Fixed the recording of server sync state more reliable, which fixes a bug where servers which did not report bursts would always remain in burst-mode internally
git-svn-id: svn://svn.anope.org/anope/trunk@619 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@467 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/channels.c')
| -rw-r--r-- | src/channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.c b/src/channels.c index 654e1681a..529073ec2 100644 --- a/src/channels.c +++ b/src/channels.c @@ -1281,7 +1281,7 @@ void chan_adduser2(User * user, Channel * c) } /* Added channelname to entrymsg - 30.03.2004, Certus */ /* Also, don't send the entrymsg when bursting -GD */ - if (c->ci && c->ci->entry_message && (me_server->sync == 1)) + if (c->ci && c->ci->entry_message && is_sync(user->server)) notice_user(whosends(c->ci), user, "[%s] %s", c->name, c->ci->entry_message); } @@ -1302,7 +1302,7 @@ void chan_adduser2(User * user, Channel * c) * to has synced, or we'll get greet-floods when the net * recovers from a netsplit. -GD */ - if (me_server->sync == 1) { + if (is_sync(user->server) == 1) { anope_cmd_privmsg(c->ci->bi->nick, c->name, "[%s] %s", user->na->nick, user->na->nc->greet); c->ci->bi->lastmsg = time(NULL); |
