aboutsummaryrefslogtreecommitdiffstats
path: root/irc_im.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_im.c')
-rw-r--r--irc_im.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/irc_im.c b/irc_im.c
index 268fb176..5f33e579 100644
--- a/irc_im.c
+++ b/irc_im.c
@@ -130,7 +130,8 @@ void bee_irc_channel_update( irc_t *irc, irc_channel_t *ic, irc_user_t *iu )
{
ic = l->data;
/* TODO: Just add a type flag or so.. */
- if( ic->f == irc->default_channel->f )
+ if( ic->f == irc->default_channel->f &&
+ ( ic->flags & IRC_CHANNEL_JOINED ) )
bee_irc_channel_update( irc, ic, iu );
}
return;