summaryrefslogtreecommitdiffstats
path: root/tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools.py')
-rwxr-xr-xtools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools.py b/tools.py
index b1da848..47d582a 100755
--- a/tools.py
+++ b/tools.py
@@ -18,6 +18,7 @@ def deprecated(old):
args = [input.bytes, input.sender, '@@']
old(self, origin, match, args)
+ new.__module__ = old.__module__
new.__name__ = old.__name__
return new