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:
Kevin Easton
2012-12-30 02:22:56 +00:00
parent 0d67cac5f7
commit 1541299fa1
6 changed files with 177 additions and 1 deletions

View File

@@ -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++;