aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2015-11-07 18:48:58 +0100
committerMarius Halden <marius.h@lden.org>2015-11-07 18:48:58 +0100
commit1abb9f7ee2251f535cf6517240d6d9d995593636 (patch)
tree6a99c5e8f4c5af1abf975478e8f8f3278df78a27 /protocols
parent896d5b57f57837d8886cc9d0b4ab44935671e89c (diff)
Correct handling of `retweet` command (oops)patched-3.4.1
Diffstat (limited to 'protocols')
-rw-r--r--protocols/twitter/twitter.c2
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;