aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.rs
diff options
context:
space:
mode:
authorrustdesk <[email protected]>2021-04-17 16:12:34 +0800
committerrustdesk <[email protected]>2021-04-17 16:12:34 +0800
commitd87d761ab696194f547cdedf9908e17a63eecf57 (patch)
treed4fb2512048090d900113451f9dd4e6fc4a3902f /src/main.rs
parent64829349498ad63ae880eb4b60982c57e2b4521a (diff)
downloadrustdesk-server-d87d761ab696194f547cdedf9908e17a63eecf57.tar.gz
rustdesk-server-d87d761ab696194f547cdedf9908e17a63eecf57.zip
working on new version
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 808c8fd..8e488f1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -47,7 +47,7 @@ fn main() -> ResultType<()> {
}
return default.to_owned();
};
- if !lic::check_lic(&get_arg("email", "")) {
+ if !lic::check_lic(&get_arg("email", ""), crate::VERSION) {
return Ok(());
}
let port = get_arg("port", DEFAULT_PORT);