Mercurial > pidgin
diff src/protocols/irc/irc.c @ 8352:77baefe979c6
[gaim-migrate @ 9076]
this compiles, and I don't think it breaks anything, so here's
/list support, again from our patient friend marv
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Fri, 27 Feb 2004 01:48:11 +0000 |
| parents | ffa642240fc1 |
| children | e3c059c3d92d |
line wrap: on
line diff
--- a/src/protocols/irc/irc.c Fri Feb 27 01:45:26 2004 +0000 +++ b/src/protocols/irc/irc.c Fri Feb 27 01:48:11 2004 +0000 @@ -488,6 +488,7 @@ struct irc_conn *irc; GList *fields = NULL; GaimRoomlistField *f; + char *buf; irc = gc->proto_data; @@ -507,7 +508,9 @@ gaim_roomlist_set_fields(irc->roomlist, fields); - irc_cmd_list(irc, "LIST", NULL, NULL); + buf = irc_format(irc, "v", "LIST"); + irc_send(irc, buf); + g_free(buf); return irc->roomlist; }
