diff libpurple/protocols/irc/parse.c @ 22638:ef4ac2a83e1c

Handle IRC ban lists in-channel. Channels which are not joined are still sent to the debug window, but in a bit prettier format. References #209
author Ethan Blanton <elb@pidgin.im>
date Sat, 12 Apr 2008 22:59:33 +0000
parents 33f4a9e685a3
children f47438e456c2 996c80ab3dbc 030185a59a1a
line wrap: on
line diff
--- a/libpurple/protocols/irc/parse.c	Sat Apr 12 21:26:43 2008 +0000
+++ b/libpurple/protocols/irc/parse.c	Sat Apr 12 22:59:33 2008 +0000
@@ -75,6 +75,8 @@
 	{ "333", "*", irc_msg_ignore },		/* Topic setter stuff		*/
 	{ "353", "nvc:", irc_msg_names },	/* Names list			*/
 	{ "366", "nc:", irc_msg_names },	/* End of names			*/
+	{ "367", "ncnnv", irc_msg_ban },	/* Ban list			*/
+	{ "368", "nc:", irc_msg_ban },		/* End of ban list		*/
 	{ "372", "n:", irc_msg_motd },		/* MOTD				*/
 	{ "375", "n:", irc_msg_motd },		/* Start MOTD			*/
 	{ "376", "n:", irc_msg_motd },		/* End of MOTD			*/