Fix AutoRespond configuration not able to be retrieved

This commit is contained in:
Noikoio 2017-08-30 00:28:51 -07:00
parent d560ca5c94
commit 042e98a022

View file

@ -53,7 +53,7 @@ namespace Noikoio.RegexBot.Feature.AutoRespond
await Log($"Added definition '{resp.Label}'");
}
return Task.FromResult<object>(responses.AsReadOnly());
return responses.AsReadOnly();
}
}
}