]> kaliko git repositories - sid.git/commitdiff
Expose logger directly in Plugin
authorkaliko <kaliko@azylum.org>
Fri, 14 Nov 2014 18:27:21 +0000 (19:27 +0100)
committerkaliko <kaliko@azylum.org>
Fri, 14 Nov 2014 18:27:21 +0000 (19:27 +0100)
sid/plugin.py

index 671df850cdd73ea3edf7420fcfcd0cfa21b4442b..15f43ab55e52a7a4fb3280d22abbc970d61ddfbf 100644 (file)
@@ -21,6 +21,7 @@ class Plugin(object):
 
     def __init__(self, bot):
         self.bot = bot
+        self.log = bot.log
 
     def shutdown(self):
         pass