aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter.c
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2016-05-26 15:07:34 +0200
committerMarius Halden <marius.h@lden.org>2016-05-26 15:07:34 +0200
commit3448d86a3f329ec4d625bd72e64a96061e71e675 (patch)
treeff41da0d1f55d449b24a91e4b7a91cab0cbcc84d /protocols/twitter/twitter.c
parent8e4d9a1769a7d566278ed95d94a1cabd8fdc62e7 (diff)
parent59a7dc58dcf39b7eaed2015423f8a4fc2da3c7fd (diff)
Merge branch 'master' into patched-master
Diffstat (limited to 'protocols/twitter/twitter.c')
-rw-r--r--protocols/twitter/twitter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c
index 5694c1b6..5f6156a6 100644
--- a/protocols/twitter/twitter.c
+++ b/protocols/twitter/twitter.c
@@ -985,7 +985,8 @@ static void twitter_handle_command(struct im_connection *ic, char *message)
goto eof;
} else if ((g_strcasecmp(cmd[0], "favourite") == 0 ||
g_strcasecmp(cmd[0], "favorite") == 0 ||
- g_strcasecmp(cmd[0], "fav") == 0) && cmd[1]) {
+ g_strcasecmp(cmd[0], "fav") == 0 ||
+ g_strcasecmp(cmd[0], "like") == 0) && cmd[1]) {
if ((id = twitter_message_id_from_command_arg(ic, cmd[1], NULL))) {
twitter_favourite_tweet(ic, id);
} else {