Example #1
0
 public void Dispose()
 {
     UserDB.Save();
     Filters         = null;
     UserDB          = null;
     ChannelInstance = null;
 }
Example #2
0
 public ChatFiltering(SuiBot_ChannelInstance ChannelInstance)
 {
     this.ChannelInstance = ChannelInstance;
     Filters = Storage.ChatFilters.Load(ChannelInstance.Channel);
     UserDB  = Storage.ChatFilterUsersDB.Load(ChannelInstance.Channel);
 }