Changed command dictionary to a command tree. Fixed various requests. OBS reconnection added if identified previously.
This commit is contained in:
@ -37,8 +37,7 @@ namespace TwitchChatTTS.Chat.Groups.Permissions
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
if (_root.Children != null)
|
||||
_root.Children.Clear();
|
||||
_root.Clear();
|
||||
}
|
||||
|
||||
public bool Remove(string path)
|
||||
@ -127,6 +126,11 @@ namespace TwitchChatTTS.Chat.Groups.Permissions
|
||||
_children.Add(child);
|
||||
}
|
||||
|
||||
internal void Clear() {
|
||||
if (_children != null)
|
||||
_children.Clear();
|
||||
}
|
||||
|
||||
public void Remove(string name)
|
||||
{
|
||||
if (_children == null || !_children.Any())
|
||||
|
Reference in New Issue
Block a user