blob: 2977cd6b78ab91512f663c5a097e4d5e16a5c277 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoochat.c,v
retrieving revision 1.25.2.4
retrieving revision 1.25.2.5
diff -u -r1.25.2.4 -r1.25.2.5
--- src/protocols/yahoo/yahoochat.c 2005/03/16 03:14:01 1.25.2.4
+++ src/protocols/yahoo/yahoochat.c 2005/03/19 14:44:57 1.25.2.5
@@ -341,10 +341,13 @@
void yahoo_process_chat_join(GaimConnection *gc, struct yahoo_packet *pkt)
{
+ GaimAccount *account = gaim_connection_get_account(gc);
struct yahoo_data *yd = (struct yahoo_data *) gc->proto_data;
GaimConversation *c = NULL;
GSList *l;
GList *members = NULL;
+ GList *roomies = NULL;
+ GaimConversationUiOps *ops;
char *room = NULL;
char *topic = NULL;
char *someid, *someotherid, *somebase64orhashosomething, *somenegativenumber;
@@ -443,10 +446,8 @@
yahoo_chat_add_users(GAIM_CONV_CHAT(c), members);
}
- GList *roomies=NULL;
- GaimConversationUiOps *ops;
ops = gaim_conversation_get_ui_ops(c);
- GaimAccount *account = gaim_connection_get_account(gc);
+
for (l = account->deny; l != NULL; l = l->next) {
for (roomies = members; roomies; roomies = roomies->next) {
if (!gaim_utf8_strcasecmp((char *)l->data, roomies->data)) {
|