mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-13 18:58:27 -04:00
Changed all == null to is null and all !(* == null) to * is not null
This commit is contained in:
@@ -76,7 +76,7 @@ namespace NadekoBot.Modules.Administration
|
||||
try { tz = TimeZoneInfo.FindSystemTimeZoneById(id); } catch { tz = null; }
|
||||
|
||||
|
||||
if (tz == null)
|
||||
if (tz is null)
|
||||
{
|
||||
await ReplyErrorLocalizedAsync("timezone_not_found").ConfigureAwait(false);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user