# HG changeset patch # User Elliott Sales de Andrade # Date 1281765222 0 # Node ID 77ac5f4584bd9a04db7c91f7574b35e77babd88d # Parent 77449a80fef298089bb08f8ced077d9c74cd78e5 I'm pretty sure this is a logical operation, not bitwise. diff -r 77449a80fef2 -r 77ac5f4584bd libpurple/protocols/jabber/jabber.c --- a/libpurple/protocols/jabber/jabber.c Sat Aug 14 05:31:29 2010 +0000 +++ b/libpurple/protocols/jabber/jabber.c Sat Aug 14 05:53:42 2010 +0000 @@ -3493,7 +3493,7 @@ if (js->pep) { /* if no argument was given, unset mood */ - if (!args | !args[0]) { + if (!args || !args[0]) { jabber_mood_set(js, NULL, NULL); } else if (!args[1]) { jabber_mood_set(js, args[0], NULL);