aboutsummaryrefslogtreecommitdiffstats
path: root/irc_channel.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-06-26 22:26:41 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-06-26 22:26:41 +0100
commit92c8d410eb1d26bfe876ae119734772f46c9a7da (patch)
tree190d75fe792453a01fcc8eca822ade7c5d7e5bf1 /irc_channel.c
parent41d415beaa1fd3bdd67a12686fc35386e5b81108 (diff)
Remember in which channel the user talked to someone and show responses in
that same channel.
Diffstat (limited to 'irc_channel.c')
-rw-r--r--irc_channel.c2
1 files changed, 1 insertions, 1 deletions
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