aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-05-02 19:48:26 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-05-02 19:48:26 +0100
commitbce78c8e6b9363175943a1b10df76fdbd87ba0c8 (patch)
tree20b02a4b702e05ecaecc7d07d82dcf0fcdf6ab1b /irc_commands.c
parenta4cdf43ba4247914985765ef26a1d77239a15a10 (diff)
Restored classical control channel behaviour (the ability to talk to
contacts in there).
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/irc_commands.c b/irc_commands.c
index 35169607..dd7cc730 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -287,7 +287,10 @@ static void irc_cmd_privmsg( irc_t *irc, char **cmd )
iu->f->ctcp( iu, ctcp );
}
else if( iu->f->privmsg )
+ {
+ iu->flags |= IRC_USER_PRIVATE;
iu->f->privmsg( iu, cmd[2] );
+ }
}
else
{