changeset 4995:ed2a6196ccab

[gaim-migrate @ 5330] kelnos (bjt23) writes: " irc plugin now silently drops irc error 422, which is just the server saying there is no MOTD. who cares, really? the dialog that pops up is annoying..." he also added a break; for error 402, since it is NOT the same as 422 ;-) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 04 Apr 2003 11:52:47 +0000
parents 2c191ee5cd7a
children 73aef6d0f497
files src/protocols/irc/irc.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Fri Apr 04 03:51:04 2003 +0000
+++ b/src/protocols/irc/irc.c	Fri Apr 04 11:52:47 2003 +0000
@@ -1090,6 +1090,9 @@
 		break;
 	case 402: /* ERR_NOSUCHSERVER */
 		do_error_dialog(_("No such server"), _("IRC Error"), GAIM_ERROR);
+		break;
+	case 422: /* ERR_NOMOTD */
+		break;  /* drop it - bringing up dialog for NOMOTD is annoying */
 	case 431: /* ERR_NONICKNAMEGIVEN */
 		do_error_dialog(_("No nickname given"), _("IRC Error"), GAIM_ERROR);
 		break;