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_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'irc_commands.c') diff --git a/irc_commands.c b/irc_commands.c index b1fc74bf..5a0843ec 100644 --- a/irc_commands.c +++ b/irc_commands.c @@ -305,7 +305,7 @@ static void irc_cmd_privmsg( irc_t *irc, char **cmd ) } else if( iu->f->privmsg ) { - iu->flags |= IRC_USER_PRIVATE; + iu->last_channel = NULL; iu->f->privmsg( iu, cmd[2] ); } } -- cgit v1.2.3