mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-13 02:38:27 -04:00
Changed all == null to is null and all !(* == null) to * is not null
This commit is contained in:
@@ -61,7 +61,7 @@ namespace NadekoBot.Modules.Games
|
||||
var gr = _service.GirlRatings.GetOrAdd(usr.Id, GetGirl);
|
||||
var originalStream = await gr.Stream;
|
||||
|
||||
if (originalStream == null)
|
||||
if (originalStream is null)
|
||||
{
|
||||
await ReplyErrorLocalizedAsync("something_went_wrong").ConfigureAwait(false);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user