From efcd7ad251ec5bd5b184d034ff9206cc3f5776da Mon Sep 17 00:00:00 2001 From: phxntxm Date: Wed, 15 Mar 2017 21:29:51 -0500 Subject: [PATCH] Ensure the message responded to is the one we want --- cogs/utils/paginator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/utils/paginator.py b/cogs/utils/paginator.py index dc41858..630ce6b 100644 --- a/cogs/utils/paginator.py +++ b/cogs/utils/paginator.py @@ -179,7 +179,7 @@ class Pages: self.paginating = False def react_check(self, reaction, user): - if user is None or user.id != self.author.id: + if user is None or user.id != self.author.id or reaction.message != self.message: return False for (emoji, func) in self.reaction_emojis: