diff options
Diffstat (limited to 'src/server/cmd/commands/property/create.rs')
| -rw-r--r-- | src/server/cmd/commands/property/create.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/cmd/commands/property/create.rs b/src/server/cmd/commands/property/create.rs index e4c4eb2..9908b27 100644 --- a/src/server/cmd/commands/property/create.rs +++ b/src/server/cmd/commands/property/create.rs @@ -59,7 +59,7 @@ pub fn create_property_update_as_distributor() -> Vec<u8> { }, NetworkProperty { prop_id: VAR_APPNAME, - value: Config::get().unwrap().whirlsplash.worldsmaster_username, + value: Config::get().whirlsplash.worldsmaster_username, }, ], ) @@ -100,7 +100,7 @@ pub fn create_property_update_as_hub() -> Vec<u8> { }, NetworkProperty { prop_id: VAR_APPNAME, - value: Config::get().unwrap().whirlsplash.worldsmaster_username, + value: Config::get().whirlsplash.worldsmaster_username, }, ], ) @@ -117,7 +117,7 @@ pub fn create_property_request_as_distributor() -> Vec<u8> { }, NetworkProperty { prop_id: VAR_APPNAME, - value: Config::get().unwrap().whirlsplash.worldsmaster_username, + value: Config::get().whirlsplash.worldsmaster_username, }, NetworkProperty { prop_id: VAR_PROTOCOL, |