1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/LibMatrix.Utilities.Bot/AppServiceConfiguration.cs b/Utilities/LibMatrix.Utilities.Bot/AppServiceConfiguration.cs
index 99a789a..d8d1094 100644
--- a/Utilities/LibMatrix.Utilities.Bot/AppServiceConfiguration.cs
+++ b/Utilities/LibMatrix.Utilities.Bot/AppServiceConfiguration.cs
@@ -44,8 +44,8 @@ public class AppServiceConfiguration {
else
yaml += "protocols: []";
yaml += "\n";
- if (RateLimited is not null)
- yaml += $"rate_limited: {RateLimited!.ToString().ToLower()}\n";
+ if (RateLimited.HasValue)
+ yaml += $"rate_limited: {RateLimited.Value.ToString().ToLower()}\n";
else
yaml += "rate_limited: false\n";
|