changeset 30415:77ac5f4584bd

I'm pretty sure this is a logical operation, not bitwise.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 14 Aug 2010 05:53:42 +0000
parents 77449a80fef2
children 6ee64d62c43c
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);