And proper return value

This commit is contained in:
Kwoth 2016-12-01 00:45:39 +01:00
parent 737fb09124
commit 140ec95e04

View File

@ -293,7 +293,7 @@ namespace NadekoBot.Modules.Administration
{
var conf = uow.GuildConfigs.For(guildId);
conf.DmGreetMessageText = message;
greetMsgEnabled = conf.SendChannelGreetMessage;
greetMsgEnabled = conf.SendDmGreetMessage;
uow.GuildConfigs.Update(conf);
uow.Complete();