dcr no longer requires a bot restart

This commit is contained in:
Kwoth 2016-10-10 05:22:41 +02:00
parent bd1efc6f75
commit aa96ed884e

View File

@ -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)