Bot can't trigger currency generation anymore

This commit is contained in:
Kwoth 2016-09-08 22:42:19 +02:00
parent d484169a34
commit 0a548523ab

View File

@ -60,7 +60,7 @@ namespace NadekoBot.Modules.Games
private Task PotentialFlowerGeneration(IMessage imsg)
{
var msg = imsg as IUserMessage;
if (msg == null)
if (msg == null || msg.IsAuthor())
return Task.CompletedTask;
var channel = imsg.Channel as ITextChannel;