changeset 30066:b0f8dcab7b43

jabber: Whoops. Nick changes are supposed to actually work...
author Paul Aurich <paul@darkrain42.org>
date Thu, 01 Apr 2010 18:34:34 +0000
parents fc4bacb35cbc
children 1b1d52527705 396340abea17
files libpurple/protocols/jabber/presence.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Thu Apr 01 06:51:04 2010 +0000
+++ b/libpurple/protocols/jabber/presence.c	Thu Apr 01 18:34:34 2010 +0000
@@ -682,7 +682,7 @@
 					nick = xmlnode_get_attrib(presence->chat_info.item, "nick");
 
 				/* nick change */
-				if (nick) {
+				if (!nick) {
 					purple_debug_warning("jabber", "Chat presence indicating a nick change, but no new nickname!\n");
 				} else {
 					nick_change = TRUE;