Mercurial > pidgin
diff libpurple/protocols/irc/parse.c @ 31027:1dcaaa68b245
Process 422 (ERR_NOMOTD) as a valid replacement for an actual MOTD
during signin.
Thanks to Thijs Alkemade for this patch.
Fixes #8649
committer: Ethan Blanton <elb@pidgin.im>
author | thijsalkemade@gmail.com |
---|---|
date | Wed, 15 Dec 2010 00:35:10 +0000 |
parents | c4a14bbe1b18 |
children | a8cc50c2279f |
line wrap: on
line diff
--- a/libpurple/protocols/irc/parse.c Tue Dec 14 06:19:13 2010 +0000 +++ b/libpurple/protocols/irc/parse.c Wed Dec 15 00:35:10 2010 +0000 @@ -86,6 +86,7 @@ { "403", "nc:", irc_msg_nochan }, /* No such channel */ { "404", "nt:", irc_msg_nosend }, /* Cannot send to chan */ { "421", "nv:", irc_msg_unknown }, /* Unknown command */ + { "422", "n:", irc_msg_motd }, /* MOTD file missing */ { "432", "vn:", irc_msg_badnick }, /* Erroneous nickname */ { "433", "vn:", irc_msg_nickused }, /* Nickname already in use */ { "437", "nc:", irc_msg_unavailable }, /* Nick/channel is unavailable */