mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Clean up filter code; detuple
This commit is contained in:
@@ -92,8 +92,7 @@ namespace SabreTools.Filtering
|
||||
return false;
|
||||
|
||||
// Get the parser pair out of it, if possible
|
||||
(string? type, string? key) = FilterParser.ParseFilterId(field);
|
||||
if (type == null || key == null)
|
||||
if (!FilterParser.ParseFilterId(field, out string type, out string key))
|
||||
return false;
|
||||
|
||||
switch (type)
|
||||
|
||||
Reference in New Issue
Block a user