From 92c8d410eb1d26bfe876ae119734772f46c9a7da Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 26 Jun 2010 22:26:41 +0100 Subject: Remember in which channel the user talked to someone and show responses in that same channel. --- irc_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'irc_channel.c') diff --git a/irc_channel.c b/irc_channel.c index 133a6de9..da6abbe4 100644 --- a/irc_channel.c +++ b/irc_channel.c @@ -374,7 +374,7 @@ static gboolean control_channel_privmsg( irc_channel_t *ic, const char *msg ) iu = irc_user_by_name( irc, to ); if( iu && iu->f->privmsg ) { - iu->flags &= ~IRC_USER_PRIVATE; + iu->last_channel = ic; iu->f->privmsg( iu, s ); } else -- cgit v1.2.3