aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-07-03 18:39:37 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-07-03 18:39:37 +0100
commite1f3f94eaf2f18f4707dc48db9adc541f16d1679 (patch)
tree4ad5f3259561f1b62202b17f09d32248ba5ec9e0 /irc_commands.c
parent3353b5e52e6d78b1d1a294cea6ef1f6d383e38ba (diff)
Fix handling of outgoing CTCP ACTIONs.
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 0a9b2c61..197a7e6e 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -296,7 +296,7 @@ static void irc_cmd_privmsg( irc_t *irc, char **cmd )
if( g_strncasecmp( cmd[2], "\001ACTION", 7 ) == 0 )
{
cmd[2] += 4;
- strcpy( cmd[2], "/me" );
+ memcpy( cmd[2], "/me", 3 );
if( cmd[2][strlen(cmd[2])-1] == '\001' )
cmd[2][strlen(cmd[2])-1] = '\0';
}