Fix text event for erroneous nicks

This commit is contained in:
Berke Viktor
2013-05-18 22:09:44 +02:00
parent bac96d1fa8
commit 9d717ffee9
4 changed files with 40 additions and 9 deletions

View File

@@ -835,17 +835,26 @@ process_numeric (session * sess, int n,
inbound_login_end (sess, text);
break;
case 433: /* nickname in use */
case 432: /* erroneous nickname */
if (serv->end_of_motd)
{
goto def;
inbound_next_nick (sess, word[4]);
}
inbound_next_nick (sess, word[4], 1);
break;
case 433: /* nickname in use */
if (serv->end_of_motd)
{
goto def;
}
inbound_next_nick (sess, word[4], 0);
break;
case 437:
if (serv->end_of_motd || is_channel (serv, word[4]))
goto def;
inbound_next_nick (sess, word[4]);
inbound_next_nick (sess, word[4], 0);
break;
case 471: