replace and with &&
This commit is contained in:
parent
12af9e6369
commit
f6de021d37
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ pub fn set_peer_option(id: String, name: String, value: String) {
|
|||
#[inline]
|
||||
pub fn using_public_server() -> bool {
|
||||
let key_check: Option<&'static str> = option_env!("RS_PUB_KEY_VAL");
|
||||
if key_check != "None" and crate::get_custom_rendezvous_server(get_option_("custom-rendezvous-server")).is_empty() {
|
||||
if key_check != "None" && crate::get_custom_rendezvous_server(get_option_("custom-rendezvous-server")).is_empty() {
|
||||
return False;
|
||||
} else {
|
||||
return True;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue