[gaim-migrate @ 5330]

Fri, 04 Apr 2003 11:52:47 +0000

author
kelnos
date
Fri, 04 Apr 2003 11:52:47 +0000
changeset 4995
19c48863859f
parent 4994
73936ea9e622
child 4996
fcdcff58aa34

[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: Luke Schierer <lschiere@pidgin.im>

src/protocols/irc/irc.c file | annotate | diff | comparison | revisions
--- 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;

mercurial