summaryrefslogtreecommitdiff
path: root/calc.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2015-01-11 00:56:06 +0100
committerjomo <github@jomo.tv>2015-01-11 00:56:06 +0100
commitc69e8e80b2e22dc7e61ec139faa6f98e8ca63456 (patch)
treedc6875d15d2b57a3d78b8b7e4f16cdd710c151c0 /calc.py
parent9fa736691c468e3a0b5ecffe76cdb7ece45d8aa3 (diff)
420 = blazeit
Diffstat (limited to 'calc.py')
-rw-r--r--calc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calc.py b/calc.py
index befa33f..e9479c8 100644
--- a/calc.py
+++ b/calc.py
@@ -41,7 +41,7 @@ def on_calc_chat(event):
if not event.isCancelled() and uid(sender) in calc_users and sender.hasPermission(calc_perm):
output = calc(message)
if type(output)in [int, float, long, complex]:
- msg(sender, "&2=== Calc: &e" + output[0] + " &2= &c" + output[1])
+ msg(sender, "&2=== Calc: &e" + output[0] + " &2= &c" + str(output[1]).replace("420", "blazeit"))
@hook.command("calc", description="Toggles chat calculations")