aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
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
{