diff options
Diffstat (limited to 'irc_commands.c')
-rw-r--r-- | irc_commands.c | 2 |
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'; } |