pidgin: 07d5ff49: irc: Save one useless hash table lookup

darkrain42 at pidgin.im darkrain42 at pidgin.im
Mon Jun 27 01:40:21 EDT 2011


----------------------------------------------------------------------
Revision: 07d5ff49cdb59eea5445748076453aebb0406817
Parent:   fb8d8417592c55ace530f527d2440c3240235342
Author:   darkrain42 at pidgin.im
Date:     06/27/11 01:36:22
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/07d5ff49cdb59eea5445748076453aebb0406817

Changelog: 

irc: Save one useless hash table lookup

Changes against parent fb8d8417592c55ace530f527d2440c3240235342

  patched  libpurple/protocols/irc/msgs.c

-------------- next part --------------
============================================================
--- libpurple/protocols/irc/msgs.c	58a11bfdfa8d0e944ca399e095ec92f999244623
+++ libpurple/protocols/irc/msgs.c	8283ab2a8ceb33c47483e07df22950319b0beac3
@@ -445,7 +445,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;
 
 		if (args[6][0] == 'G' && !(flags & PURPLE_CBFLAGS_AWAY)) {
 			purple_conv_chat_user_set_flags(chat, cb->name, flags | PURPLE_CBFLAGS_AWAY);


More information about the Commits mailing list