Просмотр исходного кода

bin/ircd: remove datastore path from config file and app settings

ghassmo 4 лет назад
Родитель
Сommit
3b0575d0b0
2 измененных файлов с 1 добавлено и 8 удалено
  1. 1 4
      bin/ircd/ircd_config.toml
  2. 0 4
      bin/ircd/src/settings.rs

+ 1 - 4
bin/ircd/ircd_config.toml

@@ -4,13 +4,10 @@
 ## IRC listen URL
 #irc_listen="tcp://127.0.0.1:11066"
 
-## Sets Datastore Path
-#datastore="~/.config/darkfi/ircd"
-
 ## List of channels to autojoin for new client connections
 autojoin = ["#dev"]
 
-## Raft net settings
+## P2P net settings
 [net]
 ## P2P accept address
 #inbound="tls://127.0.0.1:11002" 

+ 0 - 4
bin/ircd/src/settings.rs

@@ -33,10 +33,6 @@ pub struct Args {
     #[structopt(long = "irc", default_value = "tcp://127.0.0.1:11066")]
     pub irc_listen: Url,
 
-    /// Sets Datastore Path
-    #[structopt(long, default_value = "~/.config/darkfi/ircd")]
-    pub datastore: String,
-
     /// Generate a new NaCl secret and exit
     #[structopt(long)]
     pub gen_secret: bool,