From c6d7e36357adcb40993a1bef6ee3c6da02860cf7 Mon Sep 17 00:00:00 2001 From: urlbot Date: Sat, 27 Sep 2014 06:03:04 +0200 Subject: [PATCH] scope fixes: request_counter --- urlbot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/urlbot.py b/urlbot.py index 01fad42..8dc8c4e 100755 --- a/urlbot.py +++ b/urlbot.py @@ -233,14 +233,18 @@ def get_version_git(): return "(unknown version)" import plugins + plugins.chat_write = chat_write plugins.conf = conf plugins.logger = logger plugins.ratelimit_exceeded = ratelimit_exceeded plugins.ratelimit_touch = ratelimit_touch + plugins.random = random plugins.time = time +plugins.request_counter = request_counter + plugins.register_all() if '__main__' == __name__: