Server config load and graceful client exit

This commit is contained in:
2026-01-26 01:25:16 +01:00
parent 904efbd9b9
commit fe703b6ddd
7 changed files with 252 additions and 26 deletions
+27
View File
@@ -0,0 +1,27 @@
// Server configuration file
clients = (
{
client_id = "test1";
nickname = "Kregielnia";
},
{
client_id = "test2";
nickname = "Bajzel";
}
);
groups = (
{
name = "HelloChat";
members = ["test1", "test2"];
},
{
name = "Macarena";
members = [];
},
{
name = "Bananownia";
members = ["test2"];
}
);