diff options
| author | Jokler <jokler@protonmail.com> | 2020-10-17 19:55:58 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-17 19:55:58 +0000 |
| commit | 67c11897f164ff825a499f8c1296bb5c90658f06 (patch) | |
| tree | fc0198ee270a96350f64a8c42c42ff86beee6036 /src/bot | |
| parent | 6dc5d6e808ad21208e69df1b46704ade76f027f7 (diff) | |
| parent | 48ccd0e7d7a63b7acc05ae9c9306869bf547a720 (diff) | |
| download | pokebot-67c11897f164ff825a499f8c1296bb5c90658f06.tar.gz pokebot-67c11897f164ff825a499f8c1296bb5c90658f06.zip | |
Added an option to the config file to disable the web server
Diffstat (limited to 'src/bot')
| -rw-r--r-- | src/bot/master.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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<String>, pub id: Option<Identity>, pub ids: Option<Vec<Identity>>, @@ -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, |
