Module: logging cleanup, add logging on unload
This commit is contained in:
parent
92555867f5
commit
61ceef6a88
|
@ -49,7 +49,7 @@ class Module(object):
|
|||
self.db_init()
|
||||
|
||||
# print what was loaded, for debugging
|
||||
self.log.debug("loaded " + self.__class__.__name__)
|
||||
self.log.debug("Loaded " + self.__class__.__name__)
|
||||
|
||||
def register_handlers(self):
|
||||
"""Hook handler functions into the IRC library. This is called when the
|
||||
|
@ -148,6 +148,7 @@ class Module(object):
|
|||
"""
|
||||
|
||||
self.is_shutdown = True
|
||||
self.log.debug("Unloading " + self.__class__.__name__)
|
||||
|
||||
def remove_metaoptions(self, list):
|
||||
"""Remove metaoptions from provided list, which was probably from a config file."""
|
||||
|
|
Loading…
Reference in New Issue