diff options
author | Marius Halden <marius.h@lden.org> | 2015-11-07 18:48:58 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-11-07 18:48:58 +0100 |
commit | 1abb9f7ee2251f535cf6517240d6d9d995593636 (patch) | |
tree | 6a99c5e8f4c5af1abf975478e8f8f3278df78a27 /protocols/twitter/twitter.c | |
parent | 896d5b57f57837d8886cc9d0b4ab44935671e89c (diff) |
Correct handling of `retweet` command (oops)patched-3.4.1
Diffstat (limited to 'protocols/twitter/twitter.c')
-rw-r--r-- | protocols/twitter/twitter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c index 2fe4a55e..d446aa23 100644 --- a/protocols/twitter/twitter.c +++ b/protocols/twitter/twitter.c @@ -981,7 +981,7 @@ static void twitter_handle_command(struct im_connection *ic, char *message) twitter_report_spam(ic, screen_name); goto eof; } else if ((g_strcasecmp(cmd[0], "rt") == 0 || - g_strcasecmp(cmd[0], "retweet")) && cmd[1]) { + g_strcasecmp(cmd[0], "retweet") == 0) && cmd[1]) { id = twitter_message_id_from_command_arg(ic, cmd[1], NULL); td->last_status_id = 0; |