capture_give: fix crashing typo

master
dece 2 years ago
parent 0d49fb1457
commit 2ecec9eeb2

@ -30,7 +30,7 @@ class CaptureGivePlugin(Plugin):
# "give" command.
if self.command.ident == self.config["commands"][0]:
content = self.command.raw[len(self.command.matched):].strip()
matched = self.content_re.matched(content)
matched = self.content_re.match(content)
if not matched:
return False
groups = matched.groupdict()

Loading…
Cancel
Save