diff libpurple/protocols/irc/parse.c @ 16946:c417cc8403e3

Handle channel joins when registration is required more gracefully.
author Ethan Blanton <elb@pidgin.im>
date Tue, 08 May 2007 02:46:50 +0000
parents 6447865b2d08
children 4453f59c2035
line wrap: on
line diff
--- a/libpurple/protocols/irc/parse.c	Tue May 08 00:48:20 2007 +0000
+++ b/libpurple/protocols/irc/parse.c	Tue May 08 02:46:50 2007 +0000
@@ -91,6 +91,7 @@
 	{ "442", "nc:", irc_msg_notinchan },	/* Not in channel		*/
 	{ "473", "nc:", irc_msg_inviteonly },	/* Tried to join invite-only	*/
 	{ "474", "nc:", irc_msg_banned },	/* Banned from channel		*/
+	{ "477", "nc:", irc_msg_regonly },	/* Registration Required	*/
 	{ "478", "nct:", irc_msg_banfull },	/* Banlist is full		*/
 	{ "482", "nc:", irc_msg_notop },	/* Need to be op to do that	*/
 	{ "501", "n:", irc_msg_badmode },	/* Unknown mode flag		*/