mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 18:28:27 -04:00
Changed all == null to is null and all !(* == null) to * is not null
This commit is contained in:
@@ -102,7 +102,7 @@ namespace NadekoBot.Modules.Administration.Services
|
||||
var old = conf.DelMsgOnCmdChannels.FirstOrDefault(x => x.ChannelId == chId);
|
||||
if (newState == Administration.State.Inherit)
|
||||
{
|
||||
if (!(old is null))
|
||||
if (old is not null)
|
||||
{
|
||||
conf.DelMsgOnCmdChannels.Remove(old);
|
||||
uow.Remove(old);
|
||||
|
Reference in New Issue
Block a user