From: Alexandre Terrasa Date: Fri, 26 Jun 2015 01:42:28 +0000 (-0400) Subject: nitrpg: also react on reopened pull requests X-Git-Tag: v0.8~72^2~4 X-Git-Url: http://nitlanguage.org nitrpg: also react on reopened pull requests Signed-off-by: Alexandre Terrasa --- diff --git a/contrib/nitrpg/src/reactors.nit b/contrib/nitrpg/src/reactors.nit index da8b212..e2717f4 100644 --- a/contrib/nitrpg/src/reactors.nit +++ b/contrib/nitrpg/src/reactors.nit @@ -58,7 +58,7 @@ redef class PullRequestEvent # Rewards player for opened pull requests. redef fun react_player_event(r, game) do - if action == "opened" then + if action == "opened" or action == "reopened" then react_pull_open(r, game) else if action == "closed" then react_pull_close(r, game)