1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 19:16:37 +02:00

Do not join our clients to enforce TS if they are already in the channel

This commit is contained in:
Adam
2010-10-08 16:16:11 -04:00
parent d5e6bd8391
commit 63b1f9ce88
+1 -1
View File
@@ -179,7 +179,7 @@ void Channel::JoinUser(User *user)
if (update_ts && user->server != Me)
{
/* Send the updated TS */
if (!this->ci->bi || !this->FindUser(this->ci->bi))
if (!this->FindUser(whosends(this->ci)))
{
whosends(this->ci)->Join(this, update_ts);
whosends(this->ci)->Part(this);