From 48ccd0e7d7a63b7acc05ae9c9306869bf547a720 Mon Sep 17 00:00:00 2001 From: kilmanio Date: Sat, 17 Oct 2020 19:43:20 +0200 Subject: Added an option to the config file to disable the web server --- src/bot/master.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bot/master.rs') diff --git a/src/bot/master.rs b/src/bot/master.rs index 94332ac..2885dfe 100644 --- a/src/bot/master.rs +++ b/src/bot/master.rs @@ -36,6 +36,7 @@ pub struct MasterArgs { pub verbose: u8, pub domain: String, pub bind_address: String, + pub webserver_enable: bool, pub names: Vec, pub id: Option, pub ids: Option>, @@ -345,6 +346,7 @@ impl MasterArgs { address, domain: self.domain, bind_address: self.bind_address, + webserver_enable: self.webserver_enable, id: self.id, channel, verbose, -- cgit v1.2.3-70-g09d2