diff options
author | dequis <dx@dxzone.com.ar> | 2014-07-24 00:51:07 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2014-07-24 00:51:07 -0300 |
commit | 269580c6302a677e07176494bd314c7e2a8f488f (patch) | |
tree | 393145104686ce5468d558c29a451a19677bf91d /irc_commands.c | |
parent | 1783ab6964c9a8ffc3488bb5243f0b15858f4e74 (diff) |
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.
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 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 ) |