Skip to content

Commit

Permalink
Merge pull request #497 from Ixrec/missing-return
Browse files Browse the repository at this point in the history
missing return
  • Loading branch information
Ixrec authored Nov 7, 2023
2 parents d5d3e8d + ac2b086 commit e3a4521
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Izzy-Moonbot/Modules/ModCoreModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ await Context.Channel.SendMessageAsync(
$":warning: Failed to ban userId {userId}\n" +
$"Error was: [{ex.GetType().Name}] {ex.Message}\n" +
$"(Check Izzy's logs for a full stack trace)");

return;
}

if (time != null)
Expand Down

0 comments on commit e3a4521

Please sign in to comment.