comparison 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
comparison
equal deleted inserted replaced
10632:cbd13a12d9be 10633:eac0f2b244c2
738 gaim_conversation_set_name(conv, args[0]); 738 gaim_conversation_set_name(conv, args[0]);
739 739
740 g_free(nick); 740 g_free(nick);
741 } 741 }
742 742
743 void irc_msg_badnick(struct irc_conn *irc, const char *name, const char *from, char **args)
744 {
745 gaim_connection_error(gaim_account_get_connection(irc->account),
746 _("Your selected account name was rejected by the server. It probably contains invalid characters."));
747 }
748
743 void irc_msg_nickused(struct irc_conn *irc, const char *name, const char *from, char **args) 749 void irc_msg_nickused(struct irc_conn *irc, const char *name, const char *from, char **args)
744 { 750 {
745 char *newnick, *buf, *end; 751 char *newnick, *buf, *end;
746 752
747 if (!args || !args[1]) 753 if (!args || !args[1])