enter hook command (#130)

new configuration option `enter_hook` can now be used to spawn a command when a client is entered
This commit is contained in:
Ferdinand Schober
2024-05-12 13:01:07 +02:00
committed by GitHub
parent e9738fc024
commit 799b45104a
5 changed files with 44 additions and 2 deletions

View File

@@ -55,6 +55,7 @@ impl Server {
fix_ips: config_client.ips.into_iter().collect(),
port: config_client.port,
pos: config_client.pos,
cmd: config_client.enter_hook,
};
let state = ClientState {
active: config_client.active,