mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
scope fixes: request_counter
This commit is contained in:
@@ -233,14 +233,18 @@ def get_version_git():
|
|||||||
return "(unknown version)"
|
return "(unknown version)"
|
||||||
|
|
||||||
import plugins
|
import plugins
|
||||||
|
|
||||||
plugins.chat_write = chat_write
|
plugins.chat_write = chat_write
|
||||||
plugins.conf = conf
|
plugins.conf = conf
|
||||||
plugins.logger = logger
|
plugins.logger = logger
|
||||||
plugins.ratelimit_exceeded = ratelimit_exceeded
|
plugins.ratelimit_exceeded = ratelimit_exceeded
|
||||||
plugins.ratelimit_touch = ratelimit_touch
|
plugins.ratelimit_touch = ratelimit_touch
|
||||||
|
|
||||||
plugins.random = random
|
plugins.random = random
|
||||||
plugins.time = time
|
plugins.time = time
|
||||||
|
|
||||||
|
plugins.request_counter = request_counter
|
||||||
|
|
||||||
plugins.register_all()
|
plugins.register_all()
|
||||||
|
|
||||||
if '__main__' == __name__:
|
if '__main__' == __name__:
|
||||||
|
|||||||
Reference in New Issue
Block a user