Clearer error messages for failed joins.

This commit is contained in:
Jilles Tjoelker 2008-03-11 19:48:58 +01:00
parent 43f8445df3
commit 3b005693bd

View file

@ -492,16 +492,16 @@ static const char * replies[] = {
/* 468 */ NULL, /* 468 */ NULL,
/* 469 */ NULL, /* 469 */ NULL,
/* 470 ERR_LINKCHANNEL */ "%s %s :Forwarding to another channel", /* 470 ERR_LINKCHANNEL */ "%s %s :Forwarding to another channel",
/* 471 ERR_CHANNELISFULL, */ ":%s 471 %s %s :Cannot join channel (+l)", /* 471 ERR_CHANNELISFULL, */ ":%s 471 %s %s :Cannot join channel (+l) - channel is full, try again later",
/* 472 ERR_UNKNOWNMODE , */ ":%s 472 %s %c :is unknown mode char to me", /* 472 ERR_UNKNOWNMODE , */ ":%s 472 %s %c :is unknown mode char to me",
/* 473 ERR_INVITEONLYCHAN, */ ":%s 473 %s %s :Cannot join channel (+i)", /* 473 ERR_INVITEONLYCHAN, */ ":%s 473 %s %s :Cannot join channel (+i) - you must be invited",
/* 474 ERR_BANNEDFROMCHAN, */ ":%s 474 %s %s :Cannot join channel (+b)", /* 474 ERR_BANNEDFROMCHAN, */ ":%s 474 %s %s :Cannot join channel (+b) - you are banned",
/* 475 ERR_BADCHANNELKEY, */ ":%s 475 %s %s :Cannot join channel (+k)", /* 475 ERR_BADCHANNELKEY, */ ":%s 475 %s %s :Cannot join channel (+k) - bad key",
/* 476 ERR_BADCHANMASK, */ NULL, /* 476 ERR_BADCHANMASK, */ NULL,
/* 477 ERR_NEEDREGGEDNICK */ ":%s 477 %s %s :Cannot join channel (+r)", /* 477 ERR_NEEDREGGEDNICK */ ":%s 477 %s %s :Cannot join channel (+r) - you need to be identified with services",
/* 478 ERR_BANLISTFULL, */ ":%s 478 %s %s %s :Channel ban list is full", /* 478 ERR_BANLISTFULL, */ ":%s 478 %s %s %s :Channel ban list is full",
/* 479 ERR_BADCHANNAME */ "%s :Illegal channel name", /* 479 ERR_BADCHANNAME */ "%s :Illegal channel name",
/* 480 ERR_THROTTLE */ ":%s 480 %s %s :Cannot join channel (throttle exceeded)", /* 480 ERR_THROTTLE */ ":%s 480 %s %s :Cannot join channel (+j) - throttle exceeded, try again later",
/* 481 ERR_NOPRIVILEGES, */ ":Permission Denied - You're not an IRC operator", /* 481 ERR_NOPRIVILEGES, */ ":Permission Denied - You're not an IRC operator",
/* 482 ERR_CHANOPRIVSNEEDED, */ ":%s 482 %s %s :You're not channel operator", /* 482 ERR_CHANOPRIVSNEEDED, */ ":%s 482 %s %s :You're not channel operator",
/* 483 ERR_CANTKILLSERVER, */ ":You can't kill a server!", /* 483 ERR_CANTKILLSERVER, */ ":You can't kill a server!",