From 269580c6302a677e07176494bd314c7e2a8f488f Mon Sep 17 00:00:00 2001 From: dequis Date: Thu, 24 Jul 2014 00:51:07 -0300 Subject: Add limit param to split_command_parts(), fix twitter quotes bug Only took me a few months to write. I even added a test case. --- irc_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'irc_commands.c') diff --git a/irc_commands.c b/irc_commands.c index 19930121..73b781fc 100644 --- a/irc_commands.c +++ b/irc_commands.c @@ -364,7 +364,7 @@ static void irc_cmd_privmsg( irc_t *irc, char **cmd ) if( cmd[2][strlen(cmd[2])-1] == '\001' ) cmd[2][strlen(cmd[2])-1] = '\0'; - ctcp = split_command_parts( cmd[2] + 1 ); + ctcp = split_command_parts( cmd[2] + 1, 0 ); iu->f->ctcp( iu, ctcp ); } else if( iu->f->privmsg ) -- cgit v1.2.3