Polls persist restarts now.

This commit is contained in:
Master Kwoth
2017-10-27 18:39:56 +02:00
parent 2fbb80a2a2
commit 29f97f3732
16 changed files with 2461 additions and 168 deletions

View File

@ -10,6 +10,10 @@ namespace NadekoBot.Common.Collections
public List<T> Source { get; }
private readonly object _locker = new object();
public IndexedCollection()
{
Source = new List<T>();
}
public IndexedCollection(IEnumerable<T> source)
{
lock (_locker)