From fa552066117de3b54d18c7aa530be12b0251a939 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 25 Jul 2014 18:03:14 +0200 Subject: [PATCH] Implement suggestion by @Exio4 --- calc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calc.py b/calc.py index 9921100..4e6d634 100755 --- a/calc.py +++ b/calc.py @@ -66,8 +66,9 @@ def c(phenny, input): if 'math.pow' in q or '**' in q: phenny.reply("Kindly go fuck yourself!") antiabuse.ignore("*!*" + input.hostmask[input.hostmask.find("@"):]) - log.log("action", "Auto-ignored %s for !c crash attempt" % log.fmt_user(input), phenny) + log.log("action", "Auto-ignored %s for !c crash attempt." % log.fmt_user(input), phenny) else: + log.log("action", "Calculation by %s timed out." % log.fmt_user(input), phenny) phenny.reply("Took to long to calculate") return else: