diff options
Diffstat (limited to 'cogs')
-rwxr-xr-x | cogs/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/utils.py b/cogs/utils.py index 32ef23b..6ec510c 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -560,7 +560,7 @@ class Utils(commands.Cog): @commands.command(aliases=["calc"]) async def math(self, ctx, *, eqn: str): - if '"' in ctx.message or "print" in ctx.message: + if '"' in eqn or "print" in eqn: return try: # Allow for proper absolute value notation |