summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-08 16:16:11 -0400
committerAdam <Adam@anope.org>2010-10-08 16:16:11 -0400
commit63b1f9ce880cd06fdb5cddea85cb9a4cf293ab6f (patch)
treef7460127384dda40a627e52ef13f56186aa36bb6
parentd5e6bd83914e15ed7ed78ebc3d9be3b6bc4ed829 (diff)
Do not join our clients to enforce TS if they are already in the channel
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 756140cef..4ba9049a9 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -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);