adium: d93b477d: When updating an IRC participant from th...

zacw at adiumx.com zacw at adiumx.com
Tue Apr 14 13:30:42 EDT 2009


-----------------------------------------------------------------
Revision: d93b477da5818c974015593be1087ea7794baac2
Ancestor: 5810b341a14196e9cf93f1ff9bbad96d06b2c313
Author: zacw at adiumx.com
Date: 2009-04-14T17:29:06
Branch: im.pidgin.adium
URL: http://d.pidgin.im/viewmtn/revision/info/d93b477da5818c974015593be1087ea7794baac2

Modified files:
        libpurple/protocols/irc/msgs.c

ChangeLog: 

When updating an IRC participant from the WHO response, avoid performing a second cb lookup to get the flags.

-------------- next part --------------
============================================================
--- libpurple/protocols/irc/msgs.c	65021d750bfe76ab23587833fcb3877817b7ee2e
+++ libpurple/protocols/irc/msgs.c	a41ef7a47d55b46d7037811320e74c5265848ab1
@@ -464,7 +464,7 @@ void irc_msg_who(struct irc_conn *irc, c
 		g_free(userhost);
 		g_free(realname);
 		
-		flags = purple_conv_chat_user_get_flags(chat, cb->name);
+		flags = cb->flags;
 		
 		// (G|H)...
 		if (args[6][0] == 'G' && !(flags & PURPLE_CBFLAGS_AWAY)) {


More information about the Commits mailing list