From aa96ed884ebf5c5ed4621843da77a45f87ea2c48 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 10 Oct 2016 05:22:41 +0200 Subject: [PATCH] dcr no longer requires a bot restart --- src/NadekoBot/Modules/CustomReactions/CustomReactions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs b/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs index 44a14738..7d1b2673 100644 --- a/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs +++ b/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs @@ -150,7 +150,7 @@ namespace NadekoBot.Modules.CustomReactions if (toDelete.GuildId == null && channel == null) { uow.CustomReactions.Remove(toDelete); - + GlobalReactions.RemoveWhere(cr => cr.Id == toDelete.Id); success = true; } else if (toDelete.GuildId != null && channel?.Guild.Id == toDelete.GuildId)