diff options
author | bptato <nincsnevem662@gmail.com> | 2022-07-24 23:12:13 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-07-24 23:12:13 +0200 |
commit | fce9adc58cc762d6f70c1d34ac97efddd171edc7 (patch) | |
tree | ba8ed510a8f1e409285ef8d6055a2e2dced34b92 /src/config | |
parent | 3803b94ffc58fb81e944633e83519b74bca8a7fe (diff) | |
download | chawan-fce9adc58cc762d6f70c1d34ac97efddd171edc7.tar.gz |
Remove unmaintained networking calls
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/config.nim | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/config/config.nim b/src/config/config.nim index 5c1d3a16..97b344e2 100644 --- a/src/config/config.nim +++ b/src/config/config.nim @@ -44,8 +44,6 @@ type lemap*: ActionMap stylesheet*: string ambiguous_double*: bool - use_curl*: bool - curl_binary*: string func getRealKey(key: string): string = var realk: string @@ -155,13 +153,6 @@ proc parseConfig(config: var Config, dir: string, t: TomlValue) = else: discard if "inline" in css: config.stylesheet &= css["inline"].s - if "network" in t: - let network = t["network"] - if "use-curl" in network: - let usecurl = network["use-curl"] - if usecurl.b: - config.use_curl = true - config.curl_binary = network["curl-binary"].s proc parseConfig(config: var Config, dir: string, stream: Stream) = config.parseConfig(dir, parseToml(stream)) |