comparison src/buddy_chat.c @ 694:150214f1d48b

[gaim-migrate @ 704] bah. oscar sucks a fat one. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 16 Aug 2000 01:53:59 +0000
parents f4026275bc9f
children 0995382d0c46
comparison
equal deleted inserted replaced
693:30a8e386849d 694:150214f1d48b
58 gtk_widget_destroy(invite); 58 gtk_widget_destroy(invite);
59 invite=NULL; 59 invite=NULL;
60 } 60 }
61 61
62 62
63 struct conversation *find_chat(char *name)
64 {
65 char cuser[64];
66 struct conversation *c = NULL;
67 GList *cnv = buddy_chats;
68
69 strcpy(cuser, normalize(name));
70
71 while (cnv) {
72 c = (struct conversation *)cnv->data;
73 if (!strcasecmp(cuser, normalize(c->name))) {
74 return c;
75 }
76 cnv = cnv->next;
77 }
78 return NULL;
79 }
63 80
64 81
65 static void do_join_chat() 82 static void do_join_chat()
66 { 83 {
67 char *group; 84 char *group;