summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);