aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.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_commands.c
parent41d415beaa1fd3bdd67a12686fc35386e5b81108 (diff)
Remember in which channel the user talked to someone and show responses in
that same channel.
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c2
1 files changed, 1 insertions, 1 deletions
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] );
}
}