|
|
@ -23,7 +23,7 @@ fn recv_from_clientpool<STATE, S, R, E>(state: &mut STATE, |
|
|
|
Ok(incoming) => {
|
|
|
|
match incoming {
|
|
|
|
ClientPoolAction::NewClient(client_id) => {
|
|
|
|
for s in state.on_connect().into_iter() {
|
|
|
|
for s in state.on_connect(client_id).into_iter() {
|
|
|
|
match s {
|
|
|
|
OnConnect::Cipher((in_cipher, out_cipher)) => {
|
|
|
|
pool_send.send(ClientAction::EncryptionKeys(client_id, in_cipher, out_cipher)).unwrap();
|
|
|
|