pidgin: be2c943a: I'm pretty sure this is a logical operat...

qulogic at pidgin.im qulogic at pidgin.im
Sat Aug 14 02:25:50 EDT 2010


----------------------------------------------------------------------
Revision: be2c943ad5ecf372a5ba977319b2be4479e34dcc
Parent:   4135e531d9d413f9a09afd0296520cf8099be068
Author:   qulogic at pidgin.im
Date:     08/14/10 01:53:42
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/be2c943ad5ecf372a5ba977319b2be4479e34dcc

Changelog: 

I'm pretty sure this is a logical operation, not bitwise.

Changes against parent 4135e531d9d413f9a09afd0296520cf8099be068

  patched  libpurple/protocols/jabber/jabber.c

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	25260820be2cafec7a49b89f5a489bcf50c912f2
+++ libpurple/protocols/jabber/jabber.c	8ac5003c9ba950d09b6ae15d10a79e2a7adddc87
@@ -3493,7 +3493,7 @@ jabber_cmd_mood(PurpleConversation *conv
 
 	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);


More information about the Commits mailing list