Skip to content

Commit b0c9511

Browse files
committed
Allow "more" as well as "next" to list the next set of issues. Added missing argument $who to find_next_issues().
1 parent 01d259c commit b0c9511

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ghurlbot.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,9 +1777,9 @@ ($$)
17771777
if $addressed &&
17781778
$text =~ /^(verbosely +)?(?:find|look +up|get|search|search +for|list)(?:( +all)? +(my))?( +full)?(?: +(open|closed|all))?(?: +(issues|actions))?(?:(?: +with)? +labels? +([^ ]+(?: *, *[^ ]+)*)| +by +([^ ]+)| +for +([^ ]+)| +from +(?:repo(?:sitory)? +)?([^ ].*?)| +(with +descriptions?|in +full))*( +verbosely)? *\.? *$/i;
17791779

1780-
return $self->find_next_issues($channel)
1780+
return $self->find_next_issues($channel, $who)
17811781
if $addressed &&
1782-
$text =~ /^(?:next(?: +(?:find|look +up|get|search|search +for|list))?(?: +(?:issues|actions))?|(?:find|look +up|get|search|search +for|list) +next(?: +(?:issues|actions))?) *\.? *$/i;
1782+
$text =~ /^(?:(?:next|more)(?: +(?:find|look +up|get|search|search +for|list))?(?: +(?:issues|actions))?|(?:find|look +up|get|search|search +for|list) +(?:next|more)(?: +(?:issues|actions))?) *\.? *$/i;
17831783

17841784
return $self->maybe_expand_references($text, $channel, $addressed, $who)
17851785
if !$self->is_ignored_nick($channel, $who);

0 commit comments

Comments
 (0)