mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Changed all == null to is null and all !(* == null) to * is not null
This commit is contained in:
@@ -27,7 +27,7 @@ namespace NadekoBot.Db
|
||||
.Skip(index)
|
||||
.FirstOrDefault();
|
||||
|
||||
if (warn == null || warn.Forgiven)
|
||||
if (warn is null || warn.Forgiven)
|
||||
return false;
|
||||
|
||||
warn.Forgiven = true;
|
||||
|
Reference in New Issue
Block a user