From e45b9abd232b869fc7d42eae3def249bf8b724b6 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 7 May 2012 15:16:20 +0000 Subject: [PATCH] Math: Block factorial() in calc functions. Signed-off-by: James McCoy --- plugins/Math/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Math/plugin.py b/plugins/Math/plugin.py index d3bb5aeb0..c34891461 100644 --- a/plugins/Math/plugin.py +++ b/plugins/Math/plugin.py @@ -103,6 +103,7 @@ class Math(callbacks.Plugin): _mathEnv['abs'] = abs _mathEnv['max'] = max _mathEnv['min'] = min + _mathEnv.pop('factorial') _mathRe = re.compile(r'((?:(?