diff src/protocols/irc/cmds.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 7a6e30eb7aad
children 534b479692d0
line wrap: on
line diff
--- a/src/protocols/irc/cmds.c	Fri Feb 27 01:45:26 2004 +0000
+++ b/src/protocols/irc/cmds.c	Fri Feb 27 01:48:11 2004 +0000
@@ -206,11 +206,7 @@
 
 int irc_cmd_list(struct irc_conn *irc, const char *cmd, const char *target, const char **args)
 {
-	char *buf;
-
-	buf = irc_format(irc, "v", "LIST");
-	irc_send(irc, buf);
-	g_free(buf);
+	gaim_roomlist_show_with_account(irc->account);
 
 	return 0;
 }