Merge infrastructure for SASL authentication support from flashback.
This includes all of the underlying support, but doesn't hook it up to the /SERVER command yet, so it's not useable at this point. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@216 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -1220,6 +1220,17 @@ void numbered_command(char *from, int comm, char **ArgList)
|
||||
set_server_flag(from_server, USER_MODE_R, 1);
|
||||
break;
|
||||
}
|
||||
case 903: /* SASL authentication successful */
|
||||
case 904: /* SASL authentication failed */
|
||||
case 905: /* SASL message too long */
|
||||
case 906: /* SASL authentication aborted */
|
||||
case 907: /* You have already completed SASL authentication */
|
||||
{
|
||||
my_send_to_server(from_server, "CAP END");
|
||||
if (do_hook(current_numeric, "%s %s", from, *ArgList))
|
||||
display_msg(from, ArgList);
|
||||
break;
|
||||
}
|
||||
case 367:
|
||||
{
|
||||
number_of_bans++;
|
||||
|
||||
Reference in New Issue
Block a user