mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Add multiplayer dos protection config toggle
This commit is contained in:
1 parent
e76c1a6f3f
commit
d421cfa264
4 files changed
+11
-1
No files matched your search
@@ -297,6 +297,7 @@ impl <C: Clone + Send> super::ConfigProvider<C> for CubeConfig {
|
||||
auth_url: self.settings.server.auth_url.trim_end_matches('/').to_owned(),
|
||||
intercom_url: self.settings.server.intercom_url.trim_end_matches('/').to_owned(),
|
||||
minimum_version: self.settings.server.min_version as i32,
|
||||
dos_protect: self.settings.server.dos_protection,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -93,6 +93,7 @@ pub struct ServerConfig {
|
||||
pub auth_url: String,
|
||||
pub intercom_url: String,
|
||||
pub minimum_version: i32,
|
||||
pub dos_protect: bool,
|
||||
}
|
||||
|
||||
pub enum QueueChangeMode {
|
||||
|
||||
Reference in new issue
Block a user