mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 11:37:02 +03:00
Remove extra function calls
This commit is contained in:
@@ -131,10 +131,8 @@ function getSkipRuleValue(segment: SponsorTime | VideoLabelsCacheData, rule: Adv
|
||||
return undefined;
|
||||
}
|
||||
case SkipRuleAttribute.ChannelID:
|
||||
getChannelIDInfo()
|
||||
return getChannelIDInfo().id;
|
||||
case SkipRuleAttribute.ChannelName:
|
||||
getChannelIDInfo()
|
||||
return getChannelIDInfo().author;
|
||||
case SkipRuleAttribute.VideoDuration:
|
||||
return getVideoDuration();
|
||||
|
||||
Reference in New Issue
Block a user