Skip to content

Commit

Permalink
Fix inconsistent tabbing
Browse files Browse the repository at this point in the history
  • Loading branch information
sudokoko committed Mar 30, 2024
1 parent 773b414 commit 6cf126d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public async Task<IActionResult> PostComment([FromRoute] int id, [FromForm] stri
WebTokenEntity? token = this.database.WebTokenFromRequest(this.Request);
if (token == null) return this.Redirect("~/login");

// Deny request if in read-only mode
if (ServerConfiguration.Instance.UserGeneratedContentLimits.ReadOnlyMode) return this.Redirect("~/slot/" + id);
// Deny request if in read-only mode
if (ServerConfiguration.Instance.UserGeneratedContentLimits.ReadOnlyMode) return this.Redirect("~/slot/" + id);

if (msg == null)
{
Expand Down

0 comments on commit 6cf126d

Please sign in to comment.