From 897105165d570a7dc7a69c23c0350afec137fe35 Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Thu, 25 Jun 2015 21:42:28 -0400 Subject: [PATCH] nitrpg: also react on reopened pull requests Signed-off-by: Alexandre Terrasa --- contrib/nitrpg/src/reactors.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.9.5