mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-03-11 01:28:38 +01:00
remove unnecessary else condition
This commit is contained in:
parent
24a7b3bc99
commit
d6d22d34a8
1 changed files with 0 additions and 2 deletions
|
@ -215,8 +215,6 @@ bool process_server(const dpp::json &json, translator &translator)
|
|||
auto json_hostname = json.find("hostname");
|
||||
if (json_hostname != json.end())
|
||||
translator.hostname = *json_hostname;
|
||||
else
|
||||
translator.hostname = {};
|
||||
|
||||
auto json_tls = json.find("tls");
|
||||
if (json_tls != json.end())
|
||||
|
|
Loading…
Add table
Reference in a new issue