And proper return value
This commit is contained in:
parent
737fb09124
commit
140ec95e04
@ -293,7 +293,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
{
|
{
|
||||||
var conf = uow.GuildConfigs.For(guildId);
|
var conf = uow.GuildConfigs.For(guildId);
|
||||||
conf.DmGreetMessageText = message;
|
conf.DmGreetMessageText = message;
|
||||||
greetMsgEnabled = conf.SendChannelGreetMessage;
|
greetMsgEnabled = conf.SendDmGreetMessage;
|
||||||
|
|
||||||
uow.GuildConfigs.Update(conf);
|
uow.GuildConfigs.Update(conf);
|
||||||
uow.Complete();
|
uow.Complete();
|
||||||
|
Loading…
Reference in New Issue
Block a user