# HG changeset patch # User Paul Aurich # Date 1268105643 0 # Node ID 342ed5917f56ee1b52bf7b7709726b8e91816bcc # Parent 8afc47597413b870dda3be742d88f942ee26032b jabber: Fix the type signature of jabber_cmd_mood diff -r 8afc47597413 -r 342ed5917f56 libpurple/protocols/jabber/jabber.c --- a/libpurple/protocols/jabber/jabber.c Mon Mar 08 22:53:02 2010 +0000 +++ b/libpurple/protocols/jabber/jabber.c Tue Mar 09 03:34:03 2010 +0000 @@ -3315,7 +3315,7 @@ } } -static void +static PurpleCmdRet jabber_cmd_mood(PurpleConversation *conv, const char *cmd, char **args, char **error, void *data) { @@ -3330,11 +3330,14 @@ } else { jabber_mood_set(js, args[0], args[1]); } + + return PURPLE_CMD_RET_OK; } else { /* account does not support PEP, can't set a mood */ purple_conversation_write(conv, NULL, _("Account does not support PEP, can't set mood"), PURPLE_MESSAGE_ERROR, time(NULL)); + return PURPLE_CMD_RET_FAILED; } }