Mercurial > pidgin
diff src/protocols/irc/msgs.c @ 10633:eac0f2b244c2
[gaim-migrate @ 12113]
Handle bad nick errors
committer: Tailor Script <tailor@pidgin.im>
| author | Ethan Blanton <elb@pidgin.im> |
|---|---|
| date | Wed, 23 Feb 2005 13:21:38 +0000 |
| parents | 927de469483e |
| children | 483765e4a26c |
line wrap: on
line diff
--- a/src/protocols/irc/msgs.c Wed Feb 23 04:50:03 2005 +0000 +++ b/src/protocols/irc/msgs.c Wed Feb 23 13:21:38 2005 +0000 @@ -740,6 +740,12 @@ g_free(nick); } +void irc_msg_badnick(struct irc_conn *irc, const char *name, const char *from, char **args) +{ + gaim_connection_error(gaim_account_get_connection(irc->account), + _("Your selected account name was rejected by the server. It probably contains invalid characters.")); +} + void irc_msg_nickused(struct irc_conn *irc, const char *name, const char *from, char **args) { char *newnick, *buf, *end;
