mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
Changed all == null to is null and all !(* == null) to * is not null
This commit is contained in:
@@ -92,7 +92,7 @@ namespace NadekoBot.Modules.Gambling.Services
|
||||
{
|
||||
SocketGuild g = _client.GetGuild(guildId);
|
||||
SocketTextChannel ch = g?.GetChannel(channelId) as SocketTextChannel;
|
||||
if (ch == null)
|
||||
if (ch is null)
|
||||
return false;
|
||||
|
||||
ICurrencyEvent ce;
|
||||
|
Reference in New Issue
Block a user